mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use default FindPerl CMake module and better documented sed dependency
This commit is contained in:
parent
4e4a18f3af
commit
8cd35b7116
3 changed files with 15 additions and 15 deletions
|
@ -40,6 +40,14 @@ project(Bro)
|
|||
set(PACKAGE "Bro")
|
||||
file(STRINGS "${CMAKE_SOURCE_DIR}/VERSION" VERSION LIMIT_COUNT 1)
|
||||
|
||||
find_program(SED_EXE sed)
|
||||
if (NOT SED_EXE)
|
||||
message(FATAL_ERROR "Could not find required dependency: sed")
|
||||
else ()
|
||||
message(STATUS "Found sed: ${SED_EXE}")
|
||||
endif ()
|
||||
|
||||
find_package(Perl REQUIRED)
|
||||
find_package(FLEX REQUIRED)
|
||||
find_package(BISON REQUIRED)
|
||||
find_package(PCAP REQUIRED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue