Skip to content

Commit 7010606

Browse files
authored
Merge pull request #1069 from ldorau/Fix_using_LIBHWLOC_INCLUDE_DIRS_in_tests
Fix using LIBHWLOC_INCLUDE_DIRS in tests
2 parents cf318e3 + 93c00af commit 7010606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function(build_umf_test)
5959
set(INC_DIRS ${INC_DIRS} ${LEVEL_ZERO_INCLUDE_DIRS})
6060
endif()
6161

62-
if(UMF_LINK_HWLOC_STATICALLY)
62+
if(NOT UMF_DISABLE_HWLOC)
6363
set(INC_DIRS ${INC_DIRS} ${LIBHWLOC_INCLUDE_DIRS})
6464
endif()
6565

0 commit comments

Comments
 (0)