diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index c52590ee2..c7891917c 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -851,6 +851,9 @@ MACRO(NL_SETUP_BUILD) ENDIF() ENDIF() + # use c++0x standard to use std::unique_ptr and std::shared_ptr + ADD_PLATFORM_FLAGS("-std=c++0x") + ADD_PLATFORM_FLAGS("-D_REENTRANT") # hardening