mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Require C++20 for builds
This commit is contained in:
parent
bb382fc0c0
commit
b9b4fcb78b
3 changed files with 5 additions and 7 deletions
|
@ -99,9 +99,9 @@ set(binpac_SRCS
|
|||
pac_varfield.h
|
||||
pac_withinput.h)
|
||||
|
||||
include(${PROJECT_SOURCE_DIR}/cmake/RequireCXXStd.cmake)
|
||||
|
||||
add_executable(binpac ${binpac_SRCS})
|
||||
target_compile_features(binpac PRIVATE cxx_std_17)
|
||||
set_target_properties(binpac PROPERTIES CXX_EXTENSIONS OFF)
|
||||
|
||||
if (MSVC)
|
||||
# If building separately from zeek, we need to add the libunistd subdirectory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue