mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Abort when --enable-jemalloc is given, but JeMalloc is not found
At the moment this also already aborts in this case - much later, with an ugly error message.
This commit is contained in:
parent
d24fb97b53
commit
fd22c4e29a
1 changed files with 4 additions and 0 deletions
|
@ -152,6 +152,10 @@ endif ()
|
|||
|
||||
if (ENABLE_JEMALLOC)
|
||||
find_package(JeMalloc)
|
||||
|
||||
if (NOT JEMALLOC_FOUND)
|
||||
message(FATAL_ERROR "Could not find requested JeMalloc")
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
if ( BISON_VERSION AND BISON_VERSION VERSION_LESS 2.5 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue