From 3188e2d809d03b1256db2599c8331b4f1a061033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 29 May 2018 09:29:02 +0200 Subject: [PATCH] Enforce c++11 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 index fec71a5e..dda2f40a --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,10 @@ 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() # Only set project name if OpenMesh is built as stand-alone library