From 342d65aa202f029d96068f12d493af53287180fe Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Fri, 12 Apr 2024 10:55:25 +0100 Subject: [PATCH] Remove CMAKE_CXX_STANDARD The latest log4cxx needs C++14 and this would force it to use 11. It will need to be added back in to build on systems with older compilers where C++11 (or higher) is not the default. --- cpp/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 4fe7f5b..380fd96 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -5,10 +5,6 @@ set(SOURCE_DIR ${EigerDetector_SOURCE_DIR}) # Require CMake version >=2.8 cmake_minimum_required(VERSION 2.8) -# Set C++11 -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_STANDARD_REQUIRED ON) - # Set output directories set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)