mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
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:
parent
ec9e4cbd56
commit
eff218b8ab
1 changed files with 3 additions and 0 deletions
|
@ -851,6 +851,9 @@ MACRO(NL_SETUP_BUILD)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
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")
|
ADD_PLATFORM_FLAGS("-D_REENTRANT")
|
||||||
|
|
||||||
# hardening
|
# hardening
|
||||||
|
|
Loading…
Reference in a new issue