Skip to content

Commit

Permalink
Merge pull request #40 from ilya-lavrenov/patch-1
Browse files Browse the repository at this point in the history
Don't override CMAKE_CXX_STANDARD set by parent projects
  • Loading branch information
dmatveev committed Oct 10, 2023
2 parents ff027f8 + 2589414 commit 0e8a2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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 CACHE STRING "C++ standard")
set(CMAKE_CXX_STANDARD 11)

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

0 comments on commit 0e8a2cc

Please sign in to comment.