Browse Source

CMake: Make sure C++11 is marked as the required standard

Sam Edwards 6 years ago
parent
commit
5c98b793a2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dtool/CompilerFlags.cmake

+ 1 - 0
dtool/CompilerFlags.cmake

@@ -33,6 +33,7 @@ if(CMAKE_VERSION VERSION_LESS "3.1")
 
 else()
   set(CMAKE_CXX_STANDARD 11)
+  set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 endif()