changeset 106:32dd6ea6a582

Explicitly use c++11 as newer qt versions need that.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 08 Dec 2016 15:21:11 +0100
parents ddd82d6bfef7
children 788b5f239571
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Nov 18 12:51:05 2016 +0100
+++ b/CMakeLists.txt	Thu Dec 08 15:21:11 2016 +0100
@@ -54,7 +54,7 @@
    add_definitions(-DMINGW_HAS_SECURE_API) # for _s functions
 endif(WIN32)
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${HARDENING_FLAGS}")
+set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS} ${HARDENING_FLAGS}")
 
 # Cmake does not correctly identify gcc windres when cross compiling
 # making this line neccessary to set the correct flags for it.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)