File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ project(sycl-solution)
5
5
set (CMAKE_CXX_STANDARD 17 )
6
6
set (CMAKE_CXX_STANDARD_REQUIRED ON )
7
7
set (CMAKE_CXX_EXTENSIONS OFF )
8
- set (CMAKE_INCLUDE_CURRENT_DIR OFF )
9
8
option (SYCL_ENABLE_WERROR "Treat all warnings as errors in SYCL project" OFF )
10
9
option (SYCL_DISABLE_STL_ASSERTIONS "Disable assertions in STL containers" OFF )
11
10
option (SYCL_ADD_DEV_VERSION_POSTFIX "Adds -V postfix to version string" ON )
Original file line number Diff line number Diff line change 15
15
set (LEVEL_ZERO_LOADER_TAG v1.8.8 )
16
16
endif ()
17
17
18
+ set (CMAKE_INCLUDE_CURRENT_DIR OFF )
19
+
18
20
message (STATUS "Will fetch Level Zero Loader from ${LEVEL_ZERO_LOADER_REPO} " )
19
21
include (FetchContent )
20
22
FetchContent_Declare (level-zero-loader
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ add_sycl_plugin(opencl
14
14
SOURCES
15
15
"${sycl_inc_dir} /sycl/detail/pi.h"
16
16
"pi_opencl.cpp"
17
- INCLUDE_DIRS
18
- "."
19
17
LIBRARIES
20
18
OpenCL-ICD
21
19
)
Original file line number Diff line number Diff line change @@ -45,11 +45,10 @@ add_sycl_plugin(unified_runtime
45
45
"adapters/level_zero/ur_level_zero.hpp"
46
46
"adapters/level_zero/ur_level_zero.cpp"
47
47
INCLUDE_DIRS
48
- "."
49
48
"${UNIFIED_RUNTIME_INCLUDE_DIR} "
50
49
LIBRARIES
51
50
Threads::Threads
52
51
UnifiedRuntime-Headers
53
52
LevelZeroLoader-Headers
54
- # ze_loader
53
+ ze_loader
55
54
)
You can’t perform that action at this time.
0 commit comments