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")