File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ elseif(DEFINED ENV{ONEAPI_ROOT})
49
49
message (FATAL_ERROR "Unsupported system." )
50
50
endif ()
51
51
else ()
52
- message (FATAL_ERROR,
52
+ message (FATAL_ERROR
53
53
"Could not locate a DPC++ installation. Either pass the path to a "
54
54
"custom location using DPCTL_DPCPP_HOME_DIR or set the "
55
55
" ONEAPI_ROOT environment variable."
@@ -95,11 +95,11 @@ if(${clangxx_result} MATCHES "0")
95
95
set (IntelSycl_SYCL_INCLUDE_DIR ${IntelSycl_ROOT} /include/sycl )
96
96
set (IntelSycl_LIBRARY_DIR ${IntelSycl_ROOT} /lib )
97
97
if (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
98
- set (IntelSycl_SYCL_LIBRARY ${IntelSycl_ROOT} /lib /sycl.lib )
99
- set (IntelSycl_OPENCL_LIBRARY ${IntelSycl_ROOT} /lib /OpenCL.lib )
98
+ set (IntelSycl_SYCL_LIBRARY ${IntelSycl_LIBRARY_DIR} /sycl.lib )
99
+ set (IntelSycl_OPENCL_LIBRARY ${IntelSycl_LIBRARY_DIR} /OpenCL.lib )
100
100
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
101
- set (IntelSycl_SYCL_LIBRARY ${IntelSycl_ROOT} /lib /libsycl.so )
102
- set (IntelSycl_OPENCL_LIBRARY ${IntelSycl_ROOT} /lib /libOpenCL.so )
101
+ set (IntelSycl_SYCL_LIBRARY ${IntelSycl_LIBRARY_DIR} /libsycl.so )
102
+ set (IntelSycl_OPENCL_LIBRARY ${IntelSycl_LIBRARY_DIR} /libOpenCL.so )
103
103
endif ()
104
104
105
105
endif ()
You can’t perform that action at this time.
0 commit comments