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

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 131c6ad..db36cd6 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -457,11 +457,14 @@ endif()
# Find all required external libraries, based on build settings...
+
+
+
if(STAR_USE_JEMALLOC)
- # Assumes jemalloc was configured with a "je_" function prefix
- find_package(JeMalloc REQUIRED)
+ find_package(PkgConfig)
+ pkg_check_modules(JEMALLOC REQUIRED jemalloc)
- include_directories(SYSTEM ${JEMALLOC_INCLUDE_DIR})
+ include_directories(SYSTEM ${JEMALLOC_INCLUDE_DIRS})
set(STAR_EXT_LIBS ${JEMALLOC_LIBRARY})
endif()