From a6c8b0107e8b8ebd898e803659acb77570892683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 3 Sep 2019 11:31:17 +0200 Subject: [PATCH] Explicitly use C++11, like all other Magnum projects. We're testing with GCC 4.8 on Travis, so we can't go with C++14 anyway. --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 07ec013..8778146 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,7 +34,9 @@ if(CORRADE_TARGET_WINDOWS) add_definitions("-DUNICODE" "-D_UNICODE") endif() -set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS ON) +set_directory_properties(PROPERTIES + CORRADE_CXX_STANDARD 11 + CORRADE_USE_PEDANTIC_FLAGS ON) add_subdirectory(Corrade) add_subdirectory(Magnum)