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