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,13 +294,17 @@ if ( NOT BIFCL_EXE_PATH )
|
||||||
add_subdirectory(auxil/bifcl)
|
add_subdirectory(auxil/bifcl)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (ENABLE_JEMALLOC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
if (ENABLE_JEMALLOC)
|
||||||
|
if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
set(JEMALLOC_FOUND true)
|
||||||
|
else ()
|
||||||
find_package(JeMalloc)
|
find_package(JeMalloc)
|
||||||
|
|
||||||
if (NOT JEMALLOC_FOUND)
|
if (NOT JEMALLOC_FOUND)
|
||||||
message(FATAL_ERROR "Could not find requested JeMalloc")
|
message(FATAL_ERROR "Could not find requested JeMalloc")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
endif ()
|
||||||
|
|
||||||
if ( BISON_VERSION AND BISON_VERSION VERSION_LESS 2.5 )
|
if ( BISON_VERSION AND BISON_VERSION VERSION_LESS 2.5 )
|
||||||
set(MISSING_PREREQS true)
|
set(MISSING_PREREQS true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue