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

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-06-06 15:47:43 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2025-06-06 15:47:43 +1000
commit18ada37e4cc10e783c5b810404e85f3804275733 (patch)
treeaddb5666a01a941336599eb103dc723d02425f48 /source/CMakeLists.txt
parent8c024511ca7236289115dfd1d312bae0c010c53d (diff)
jemalloc (2)
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)