We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e8a2cc commit aa2002aCopy full SHA for aa2002a
CMakeLists.txt
@@ -18,7 +18,10 @@ option(FORCE_ADE_ASSERTS "Always enable ADE_ASSERT" OFF)
18
option(BUILD_ADE_DOCUMENTATION "Build doxygen documentation" OFF)
19
option(BUILD_WITH_STATIC_CRT "Build with static multi-threaded C Runtime (MS Windows/Visual Studio only)" OFF)
20
21
-set(CMAKE_CXX_STANDARD 11)
+if(NOT DEFINED CMAKE_CXX_STANDARD)
22
+ set(CMAKE_CXX_STANDARD 11)
23
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
24
+endif()
25
26
# TODO: this is horrible hack, we must follow cmake
27
# build/install policy
0 commit comments