Skip to content

Commit a50be2c

Browse files
committed
Add LIBHWLOC_INCLUDE_DIRS to build_umf_test()
Add LIBHWLOC_INCLUDE_DIRS to build_umf_test() when UMF_LINK_HWLOC_STATICALLY is ON. Ref: #1065 Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 660f1f4 commit a50be2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

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

62+
if(UMF_LINK_HWLOC_STATICALLY)
63+
set(INC_DIRS ${INC_DIRS} ${LIBHWLOC_INCLUDE_DIRS})
64+
endif()
65+
6266
if(UMF_POOL_JEMALLOC_ENABLED)
6367
set(CPL_DEFS ${CPL_DEFS} UMF_POOL_JEMALLOC_ENABLED=1)
6468
endif()

0 commit comments

Comments
 (0)