diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e6c162b..23bd12f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,12 +50,7 @@ if(NOT WIN32) option(ENABLE_TSAN "enable thread sanitizer" OFF) option(ENABLE_UBSAN "enable undefined behaviour sanitizer" OFF) option(ENABLE_COVERAGE "enable code coverage" OFF) - if(APPLE) - # This doesn't work reliably on macOS at the moment - set(USE_JEMALLOC OFF) - else() - option(USE_JEMALLOC "build with jemalloc" ON) - endif() + option(USE_JEMALLOC "build with jemalloc if available" ON) option(PREFER_SYSTEM_FAST_FLOAT "use system fast_float if available" OFF) option(PREFER_SYSTEM_GTEST "use system gtest if available" OFF) option(DISABLE_CCACHE "disable ccache" OFF)