Compile with -std=c++YY, not -std=gnu++YY, again

This commit is contained in:
Alexander A. Klimov 2022-08-15 17:33:54 +02:00
parent ad58106226
commit 797da46f1e
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ cmake_minimum_required(VERSION 2.8.8)
set(BOOST_MIN_VERSION "1.66.0")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
project(icinga2)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")