mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +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()
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue