Enforce c++11

This commit is contained in:
Jan Möbius
2018-05-29 09:29:02 +02:00
parent 20307d250b
commit 3188e2d809

5
CMakeLists.txt Normal file → Executable file
View File

@@ -1,5 +1,10 @@
cmake_minimum_required (VERSION 2.6) cmake_minimum_required (VERSION 2.6)
# Set and enforce C++-11 flags
set( CMAKE_CXX_STANDARD_REQUIRED TRUE )
set( CMAKE_CXX_STANDARD 11 )
enable_testing() enable_testing()
# Only set project name if OpenMesh is built as stand-alone library # Only set project name if OpenMesh is built as stand-alone library