Skip to content

Commit

Permalink
Merge pull request #46 from mshabunin/fix-cpp-standard
Browse files Browse the repository at this point in the history
build: do not force CXX standard
  • Loading branch information
dmatveev authored Oct 21, 2024
2 parents 6482886 + aa2002a commit ffc83ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ option(FORCE_ADE_ASSERTS "Always enable ADE_ASSERT" OFF)
option(BUILD_ADE_DOCUMENTATION "Build doxygen documentation" OFF)
option(BUILD_WITH_STATIC_CRT "Build with static multi-threaded C Runtime (MS Windows/Visual Studio only)" OFF)

set(CMAKE_CXX_STANDARD 11)
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()

# TODO: this is horrible hack, we must follow cmake
# build/install policy
Expand Down

0 comments on commit ffc83ad

Please sign in to comment.