1
0
Fork 0

Don't link anything for jemalloc on FreeBSD

This commit is contained in:
Ilya Fedin 2021-09-15 22:45:50 +04:00 committed by John Preston
parent a4257299f6
commit 3c8e9a0c75

View file

@ -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)