We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95b4c6d + 143e635 commit 1caef7fCopy full SHA for 1caef7f
CMakeLists.txt
@@ -430,11 +430,13 @@ if(UMF_BUILD_LEVEL_ZERO_PROVIDER)
430
GIT_TAG ${LEVEL_ZERO_LOADER_TAG})
431
FetchContent_Populate(level-zero-loader)
432
else()
433
+ # 'non-existing-dir' is set to avoid configuring L0 loader. Ref.
434
+ # https://gitlab.kitware.com/cmake/cmake/-/issues/26220
435
FetchContent_Declare(
436
level-zero-loader
437
GIT_REPOSITORY ${LEVEL_ZERO_LOADER_REPO}
438
GIT_TAG ${LEVEL_ZERO_LOADER_TAG}
- EXCLUDE_FROM_ALL)
439
+ EXCLUDE_FROM_ALL SOURCE_SUBDIR "non-existing-dir")
440
FetchContent_MakeAvailable(level-zero-loader)
441
endif()
442
0 commit comments