From 72aaebde91bbf1a6183f9009b460dc7396a28381 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Mon, 9 Sep 2024 11:05:29 +0200 Subject: [PATCH] Update CMakeLists.txt (#123) - minimum cmake version: 3.8 - use default C++17 Co-authored-by: Robert Haschke --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a4f144..abb14bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,6 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.8) project(srdfdom LANGUAGES CXX) -# Default to C++14 -if(NOT CMAKE_CXX_STANDARD) - set(CMAKE_CXX_STANDARD 14) -endif() - if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-Wall -Wextra -Wpedantic) endif()