Don't link anything for jemalloc on FreeBSD
This commit is contained in:
parent
a4257299f6
commit
3c8e9a0c75
1 changed files with 4 additions and 0 deletions
4
external/jemalloc/CMakeLists.txt
vendored
4
external/jemalloc/CMakeLists.txt
vendored
|
|
@ -7,6 +7,10 @@
|
|||
add_library(external_jemalloc INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_jemalloc ALIAS external_jemalloc)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(JEMALLOC IMPORTED_TARGET jemalloc)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue