Skip to content

Commit 3609cd6

Browse files
authored
Merge pull request intel#2359 from RossBrunton/ross/nol0loader
Don't build level zero provider in non-l0 builds
2 parents 28ef4c8 + 9fd2223 commit 3609cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/common/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ if (UR_BUILD_ADAPTER_L0 OR UR_BUILD_ADAPTER_L0_V2)
77
include(FetchLevelZero)
88
set(UMF_BUILD_LEVEL_ZERO_PROVIDER ON CACHE INTERNAL "Build Level Zero Provider")
99
set(UMF_LEVEL_ZERO_INCLUDE_DIR "${LEVEL_ZERO_INCLUDE_DIR}" CACHE INTERNAL "Level Zero headers")
10+
else()
11+
set(UMF_BUILD_LEVEL_ZERO_PROVIDER OFF CACHE INTERNAL "Build Level Zero Provider")
1012
endif()
1113

1214
add_ur_library(ur_common STATIC

0 commit comments

Comments
 (0)