Skip to content

Commit 9377fd0

Browse files
Merge pull request #1066 from ldorau/Add_LIBHWLOC_INCLUDE_DIRS_to_build_umf_test
Add LIBHWLOC_INCLUDE_DIRS to build_umf_test()
2 parents 660f1f4 + a50be2c commit 9377fd0

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)