Skip to content

Commit

Permalink
Remove CMAKE_CXX_STANDARD
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
GDYendell committed Aug 28, 2024
1 parent f8eacbf commit 342d65a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 342d65a

Please sign in to comment.