Browse Source

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.
appveyor-coverage
Vladimír Vondruš 7 years ago
parent
commit
a6c8b0107e
  1. 4
      src/CMakeLists.txt

4
src/CMakeLists.txt

@ -34,7 +34,9 @@ if(CORRADE_TARGET_WINDOWS)
add_definitions("-DUNICODE" "-D_UNICODE") add_definitions("-DUNICODE" "-D_UNICODE")
endif() 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(Corrade)
add_subdirectory(Magnum) add_subdirectory(Magnum)

Loading…
Cancel
Save