Skip to content

Commit b7d626a

Browse files
committed
nvml header search location
1 parent 51c91d0 commit b7d626a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/FindNVML.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (NVML_INCLUDE_DIRS AND NVML_LIBRARIES)
1919
endif()
2020

2121
# Headers
22-
file(GLOB nvml_header_path_hint /usr/include/nvidia*/include /usr/local/cuda*/include /opt/cuda*/include)
22+
file(GLOB nvml_header_path_hint /usr/include/nvidia*/include /usr/local/cuda*/include /opt/cuda*/include /usr/lib/*linux-gnu)
2323
find_path(NVML_INCLUDE_DIRS NAMES nvml.h
2424
PATHS ${nvml_header_path_hint} ${PROJECT_BINARY_DIR}/include)
2525

0 commit comments

Comments
 (0)