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

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-05 14:03:44 +01:00
parent 10a3255523
commit b5fc65ce3e

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