mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 13:22:36 +01:00
Added logic to try CMAKE_CXX_STANDARD for setting C++ standard version. Attempt to fix builds on Sid
This commit is contained in:
parent
d2a2672f28
commit
2858cc016d
@ -53,6 +53,9 @@ endif()
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} --std=c++20")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} --std=c++20")
|
||||
|
||||
# Looks like two previous lines are not enough in some cases
|
||||
set (CMAKE_CXX_STANDARD 20)
|
||||
|
||||
# With this flag we can enable GoBGP build via console: cmake .. -DENABLE_GOBGP_SUPPORT=ON
|
||||
option(ENABLE_GOBGP_SUPPORT "Enable GoBGP support build" ON)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user