Fixed: Only compile in c++0x in C++
This commit is contained in:
parent
ac4df3b65a
commit
1568d0f770
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# use c++0x standard to use std::unique_ptr and std::shared_ptr
|
# 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")
|
ADD_PLATFORM_FLAGS("-D_REENTRANT")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue