diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index b984bc1..84975e2 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -323,7 +323,7 @@ set(ARROW_TESTING_SRCS set(_allocator_dependencies "") # Empty list if(ARROW_JEMALLOC) - list(APPEND _allocator_dependencies jemalloc_ep) + list(APPEND _allocator_dependencies jemalloc::jemalloc) endif() if(ARROW_MIMALLOC) list(APPEND _allocator_dependencies mimalloc_ep) diff --git a/cpp/src/arrow/memory_pool.cc b/cpp/src/arrow/memory_pool.cc index cf8bf64..cf8966b 100644 --- a/cpp/src/arrow/memory_pool.cc +++ b/cpp/src/arrow/memory_pool.cc @@ -48,7 +48,7 @@ // Needed to support jemalloc 3 and 4 #define JEMALLOC_MANGLE // Explicitly link to our version of jemalloc -#include "jemalloc_ep/dist/include/jemalloc/jemalloc.h" +#include "jemalloc/jemalloc.h" #endif #ifdef ARROW_MIMALLOC