Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index abcdff1..bb1e7ad 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -462,6 +462,9 @@ if(STAR_USE_JEMALLOC)
pkg_check_modules(JEMALLOC REQUIRED IMPORTED_TARGET GLOBAL jemalloc)
set(STAR_EXT_LIBS PkgConfig::JEMALLOC)
+ if (STAR_SYSTEM_WINDOWS OR STAR_SYSTEM_MACOS)
+ set_flag(STAR_JEMALLOC_IS_PREFIXED)
+ endif()
endif()
if (STAR_USE_MIMALLOC)