Fixed: Only compile in c++0x in C++

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-05 19:40:48 +01:00
parent a56b938636
commit bb9db58f0c

View file

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