Skip to content

Commit f8117ba

Browse files
committed
Automatically add the Findlevel_zero.cmake file to CMake's module path.
1 parent 240f3de commit f8117ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ endif ()
253253
####################################################################################################################
254254
## Intel GPU sampling via Level Zero ##
255255
####################################################################################################################
256+
# set the CMAKE_MODULE_PATH to the cmake directory
257+
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
258+
256259
# try finding Level Zero
257260
find_package(level_zero QUIET)
258261
if (level_zero_FOUND)

0 commit comments

Comments
 (0)