mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Set JEMALLOC_FOUND when on FreeBSD (suggested by Tim Wojtulewicz)
This commit is contained in:
parent
1778bc5fa8
commit
47a267130b
1 changed files with 8 additions and 4 deletions
|
@ -294,11 +294,15 @@ if ( NOT BIFCL_EXE_PATH )
|
|||
add_subdirectory(auxil/bifcl)
|
||||
endif ()
|
||||
|
||||
if (ENABLE_JEMALLOC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
find_package(JeMalloc)
|
||||
if (ENABLE_JEMALLOC)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||
set(JEMALLOC_FOUND true)
|
||||
else ()
|
||||
find_package(JeMalloc)
|
||||
|
||||
if (NOT JEMALLOC_FOUND)
|
||||
message(FATAL_ERROR "Could not find requested JeMalloc")
|
||||
if (NOT JEMALLOC_FOUND)
|
||||
message(FATAL_ERROR "Could not find requested JeMalloc")
|
||||
endif()
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue