diff --git a/CMakeLists.txt b/CMakeLists.txt index 82e9e76d5..a7335e206 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,9 +43,8 @@ if(CXX_COMPILER_IS_DPCPP) endif() # Find SYCL implementation. -set(hipSYCL_MIN_VERSION "0.9.1") if(CELERITY_SYCL_IMPL STREQUAL "hipSYCL") - find_package(hipSYCL ${hipSYCL_MIN_VERSION} CONFIG REQUIRED) + find_package(hipSYCL CONFIG REQUIRED) elseif(CELERITY_SYCL_IMPL STREQUAL "DPC++") if(NOT CXX_COMPILER_IS_DPCPP) message(FATAL_ERROR "CELERITY_SYCL_IMPL set to DPC++, but CXX compiler at ${CMAKE_CXX_COMPILER} is not DPC++") @@ -57,7 +56,7 @@ else() list(APPEND AVAILABLE_SYCL_IMPLS DPC++) endif() - find_package(hipSYCL ${hipSYCL_MIN_VERSION} QUIET CONFIG) + find_package(hipSYCL QUIET CONFIG) if(hipSYCL_FOUND) message(STATUS "Found hipSYCL: ${hipSYCL_DIR}") list(APPEND AVAILABLE_SYCL_IMPLS hipSYCL)