Skip to content

Commit

Permalink
Incorporating code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Gail Lyons <[email protected]>
  • Loading branch information
glyons-intel committed Jul 16, 2020
1 parent 86f4ba3 commit f5083b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sycl/plugins/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)

Expand Down
2 changes: 1 addition & 1 deletion sycl/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
$<$<BOOL:${SYCL_BUILD_PI_CUDA}>:cudadrv>
Expand Down

0 comments on commit f5083b2

Please sign in to comment.