mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bifcl: Remove usage of FindRequiredPackage
This commit is contained in:
parent
af0c68c183
commit
8e5b722145
1 changed files with 2 additions and 11 deletions
|
@ -3,17 +3,8 @@ project(BifCl C CXX)
|
|||
|
||||
include(cmake/CommonCMakeConfig.cmake)
|
||||
|
||||
include(FindRequiredPackage)
|
||||
|
||||
FindRequiredPackage(BISON)
|
||||
FindRequiredPackage(FLEX)
|
||||
|
||||
if ( MISSING_PREREQS )
|
||||
foreach (prereq ${MISSING_PREREQ_DESCS})
|
||||
message(SEND_ERROR ${prereq})
|
||||
endforeach ()
|
||||
message(FATAL_ERROR "Configuration aborted due to missing prerequisites")
|
||||
endif ()
|
||||
find_package(BISON REQUIRED)
|
||||
find_package(FLEX REQUIRED)
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/J) # Similar to -funsigned-char on other platforms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue