Skip to content

Commit fecc307

Browse files
committed
Update CMake warning when libhwloc is not found to inform user about UMF_DISABLE_HWLOC flag.
1 parent 40eea01 commit fecc307

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)