diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index b2f1299be3..efad0baf36 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -121,9 +121,6 @@ set(LIB_DIRS ${LIBHWLOC_LIBRARY_DIRS}) if(UMF_BUILD_LIBUMF_POOL_DISJOINT) set(LIBS_OPTIONAL ${LIBS_OPTIONAL} disjoint_pool) endif() -if(UMF_POOL_JEMALLOC_ENABLED) - set(LIB_DIRS ${LIB_DIRS} ${JEMALLOC_LIBRARY_DIRS}) -endif() if(LINUX) set(LIBS_OPTIONAL ${LIBS_OPTIONAL} m) endif() diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 58584a4e1b..b564789706 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -51,7 +51,6 @@ function(build_umf_test) endif() if(UMF_POOL_JEMALLOC_ENABLED) - set(LIB_DIRS ${LIB_DIRS} ${JEMALLOC_LIBRARY_DIRS}) set(CPL_DEFS ${CPL_DEFS} UMF_POOL_JEMALLOC_ENABLED=1) endif()