From 542d204a9c89cdb1b43bcae5548281f311c9c848 Mon Sep 17 00:00:00 2001 From: wowzaman12 Date: Tue, 28 Apr 2015 14:53:26 +0000 Subject: [PATCH] wxvbam prefers gnu++11 rather than c++11, should fix compiling on mingw. --- src/wx/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index 89dd3b71..cf21a496 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -1,6 +1,6 @@ #Do not use this file directly. Always use the top level CMakeLists.txt file # This build is much easier if we just do it here. -SET( CMAKE_CXX_FLAGS -std=c++11 ) +SET( CMAKE_CXX_FLAGS -std=gnu++11 ) # not yet implemented option( ENABLE_CAIRO "Enable Cairo rendering for the wxWidgets port" ON ) if( WIN32 ) @@ -184,4 +184,4 @@ if(APPLE) SET_SOURCE_FILES_PROPERTIES(wxvbam.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) endif(APPLE) -SET(WX_EXE_NAME wxvbam${CMAKE_EXECUTABLE_SUFFIX}) \ No newline at end of file +SET(WX_EXE_NAME wxvbam${CMAKE_EXECUTABLE_SUFFIX})