From f5083b2a59e5a47bcb9965d3eeb3967e79710cda Mon Sep 17 00:00:00 2001 From: Gail Lyons Date: Thu, 16 Jul 2020 06:48:43 -0700 Subject: [PATCH] Incorporating code review comments Signed-off-by: Gail Lyons --- sycl/plugins/level_zero/CMakeLists.txt | 6 +++--- sycl/tools/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sycl/plugins/level_zero/CMakeLists.txt b/sycl/plugins/level_zero/CMakeLists.txt index a3ac89c5bbf0f..7595eee0a8453 100755 --- a/sycl/plugins/level_zero/CMakeLists.txt +++ b/sycl/plugins/level_zero/CMakeLists.txt @@ -57,9 +57,9 @@ else() add_custom_target(level-zero-loader DEPENDS ${LEVEL_ZERO_LIBRARY} COMMENT "Copying Level Zero Loader ...") endif() -add_library (L0Loader-Headers INTERFACE) -add_library (L0Loader::Headers ALIAS L0Loader-Headers) -target_include_directories(L0Loader-Headers +add_library (LevelZeroLoader-Headers INTERFACE) +add_library (LevelZeroLoader::Headers ALIAS LevelZeroLoader-Headers) +target_include_directories(LevelZeroLoader-Headers INTERFACE "${LEVEL_ZERO_INCLUDE_DIR}" ) diff --git a/sycl/tools/CMakeLists.txt b/sycl/tools/CMakeLists.txt index 55a18938d3462..67b0c7329a10b 100644 --- a/sycl/tools/CMakeLists.txt +++ b/sycl/tools/CMakeLists.txt @@ -19,7 +19,7 @@ endif() target_link_libraries(get_device_count_by_type PRIVATE OpenCL::Headers - L0Loader::Headers + LevelZeroLoader::Headers ${OpenCL_LIBRARIES} ${LEVEL_ZERO_LIBRARY} $<$:cudadrv>