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

This commit is contained in:
kervala 2016-12-05 19:40:48 +01:00
parent ac4df3b65a
commit 1568d0f770

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