From 1568d0f770a3cb6210d2ed8bbcb36780d2983db0 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 5 Dec 2016 19:40:48 +0100 Subject: [PATCH] Fixed: Only compile in c++0x in C++ --- code/CMakeModules/nel.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 874e44e0f..d347009f4 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -859,7 +859,7 @@ MACRO(NL_SETUP_BUILD) ENDIF() # use c++0x standard to use std::unique_ptr and std::shared_ptr - ADD_PLATFORM_FLAGS("-std=c++0x") + SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -std=c++0x") ADD_PLATFORM_FLAGS("-D_REENTRANT")