mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Make disabled optional features show as false in build summary.
This commit is contained in:
parent
e22ec206ca
commit
47de996544
1 changed files with 4 additions and 0 deletions
|
@ -90,21 +90,25 @@ if (NOT BINPAC_FOUND)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set(HAVE_LIBMAGIC false)
|
||||||
find_package(LibMagic)
|
find_package(LibMagic)
|
||||||
if (LIBMAGIC_FOUND)
|
if (LIBMAGIC_FOUND)
|
||||||
set(HAVE_LIBMAGIC true)
|
set(HAVE_LIBMAGIC true)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set(HAVE_LIBZ false)
|
||||||
find_package(ZLIB)
|
find_package(ZLIB)
|
||||||
if (ZLIB_FOUND)
|
if (ZLIB_FOUND)
|
||||||
set(HAVE_LIBZ true)
|
set(HAVE_LIBZ true)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set(USE_GEOIP false)
|
||||||
find_package(LibGeoIP)
|
find_package(LibGeoIP)
|
||||||
if (LIBGEOIP_FOUND)
|
if (LIBGEOIP_FOUND)
|
||||||
set(USE_GEOIP true)
|
set(USE_GEOIP true)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set(USE_PERFTOOLS false)
|
||||||
if (ENABLE_PERFTOOLS)
|
if (ENABLE_PERFTOOLS)
|
||||||
find_package(GooglePerftools)
|
find_package(GooglePerftools)
|
||||||
if (GOOGLEPERFTOOLS_FOUND)
|
if (GOOGLEPERFTOOLS_FOUND)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue