mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Add explicit CMake check for compiler
This commit is contained in:
parent
1a15b968e6
commit
e7e2ee38e7
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,12 @@
|
|||
project(BinPAC)
|
||||
project(BinPAC C CXX)
|
||||
|
||||
if (NOT CMAKE_C_COMPILER)
|
||||
message(FATAL_ERROR "Could not find prerequisite C compiler")
|
||||
endif ()
|
||||
|
||||
if (NOT CMAKE_CXX_COMPILER)
|
||||
message(FATAL_ERROR "Could not find prerequisite C++ compiler")
|
||||
endif ()
|
||||
|
||||
########################################################################
|
||||
## CMake Configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue