diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-06 15:42:11 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-06-06 15:42:11 +1000 |
commit | 8c024511ca7236289115dfd1d312bae0c010c53d (patch) | |
tree | ad21fc4197a64c8e438f97d9fc41eb9a894a2ad9 /source/CMakeLists.txt | |
parent | a01968c3b090db55cc36cccc0eb8ded54ff1de6f (diff) |
jemalloc stuff
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 8 |
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) |