Use default FindPerl CMake module and better documented sed dependency

This commit is contained in:
Jon Siwek 2010-10-19 16:50:15 -05:00
parent 4e4a18f3af
commit 8cd35b7116
3 changed files with 15 additions and 15 deletions

View file

@ -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)