# HG changeset patch # User Andre Heinecke # Date 1481206871 -3600 # Node ID 32dd6ea6a582ed1cde5ca05caedb621fea7ea738 # Parent ddd82d6bfef76fc87425bbf60572e0bf53388272 Explicitly use c++11 as newer qt versions need that. diff -r ddd82d6bfef7 -r 32dd6ea6a582 CMakeLists.txt --- 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.