From 8018424179f71d88d02490611b9a05cb4fbe3513 Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Fri, 3 Oct 2014 16:05:35 -0400 Subject: [PATCH] nebedit needs c++11 flag too (for wxWidgets) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee2964c..0d49689 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,6 +187,11 @@ target_link_libraries( ${PLATFORM_LIBRARIES} ) +# wxWidgets appears to need c++11 for one or more headers +if(NOT WIN32) + set_target_properties(nebedit PROPERTIES COMPILE_FLAGS -std=c++11) +endif() + # # POFVIEW: model viewer # -- 2.39.2