Skip to content

Commit cb29417

Browse files
authored
Merge pull request #721 from martygrant/martin/update-hwloc-not-found-message
Update CMake warning when libhwloc is not found to inform user about UMF_DISABLE_HWLOC flag
2 parents 40eea01 + fecc307 commit cb29417

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/FindLIBHWLOC.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ if(LIBHWLOC_LIBRARY)
6767
endif()
6868
else()
6969
set(MSG_NOT_FOUND
70-
"libhwloc NOT found (set CMAKE_PREFIX_PATH to point the location)")
70+
"libhwloc NOT found (set CMAKE_PREFIX_PATH to point the location or disable with -DUMF_DISABLE_HWLOC=ON)"
71+
)
7172
if(LIBHWLOC_FIND_REQUIRED)
7273
message(FATAL_ERROR ${MSG_NOT_FOUND})
7374
else()

0 commit comments

Comments
 (0)