Skip to content

Commit 93c00af

Browse files
committed
Fix using LIBHWLOC_INCLUDE_DIRS in tests
LIBHWLOC_INCLUDE_DIRS should be used always when hwloc is not disabled. Ref: #1066 Signed-off-by: Lukasz Dorau <[email protected]>
1 parent cf318e3 commit 93c00af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
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)