We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e10a4 commit b1d39f2Copy full SHA for b1d39f2
dpctl-capi/CMakeLists.txt
@@ -36,10 +36,10 @@ option(DPCTL_BUILD_CAPI_TESTS
36
)
37
38
# Minimum version requirement only when oneAPI dpcpp is used.
39
-if(DPCTL_CUSTOM_DPCPP_INSTALL_DIR)
40
- find_package(IntelSycl REQUIRED)
41
-else()
+if("{CMAKE_CXX_COMPILER}" MATCHES "dpcpp")
42
find_package(IntelSycl 2021.2.0 REQUIRED)
+else()
+ find_package(IntelSycl REQUIRED)
43
endif()
44
45
if(DPCTL_ENABLE_LO_PROGRAM_CREATION)
0 commit comments