From 797da46f1e95ae64f25917a4072c71f7dd3428d3 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 15 Aug 2022 17:33:54 +0200 Subject: [PATCH] Compile with -std=c++YY, not -std=gnu++YY, again --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a35d91aaa..9c699ca93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")