We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51c91d0 commit b7d626aCopy full SHA for b7d626a
cmake/modules/FindNVML.cmake
@@ -19,7 +19,7 @@ if (NVML_INCLUDE_DIRS AND NVML_LIBRARIES)
19
endif()
20
21
# Headers
22
-file(GLOB nvml_header_path_hint /usr/include/nvidia*/include /usr/local/cuda*/include /opt/cuda*/include)
+file(GLOB nvml_header_path_hint /usr/include/nvidia*/include /usr/local/cuda*/include /opt/cuda*/include /usr/lib/*linux-gnu)
23
find_path(NVML_INCLUDE_DIRS NAMES nvml.h
24
PATHS ${nvml_header_path_hint} ${PROJECT_BINARY_DIR}/include)
25
0 commit comments