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

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index db36cd6..abcdff1 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -457,15 +457,11 @@ endif()
# Find all required external libraries, based on build settings...
-
-
-
if(STAR_USE_JEMALLOC)
find_package(PkgConfig)
- pkg_check_modules(JEMALLOC REQUIRED jemalloc)
+ pkg_check_modules(JEMALLOC REQUIRED IMPORTED_TARGET GLOBAL jemalloc)
- include_directories(SYSTEM ${JEMALLOC_INCLUDE_DIRS})
- set(STAR_EXT_LIBS ${JEMALLOC_LIBRARY})
+ set(STAR_EXT_LIBS PkgConfig::JEMALLOC)
endif()
if (STAR_USE_MIMALLOC)