Fixed: Force c++0x for GCC and clang to be able to use std::unique_ptr and std::shared_ptr

This commit is contained in:
kervala 2016-12-05 14:03:44 +01:00
parent ec9e4cbd56
commit eff218b8ab

View file

@ -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