2018-06-14 19:41:25 +00:00
|
|
|
diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake
|
2018-06-14 20:10:50 +00:00
|
|
|
index 95b28bb8a..92d014836 100644
|
2018-06-14 19:41:25 +00:00
|
|
|
--- a/code/CMakeModules/nel.cmake
|
|
|
|
+++ b/code/CMakeModules/nel.cmake
|
2018-06-14 20:10:50 +00:00
|
|
|
@@ -873,8 +873,8 @@ MACRO(NL_SETUP_BUILD)
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
- # use c++0x standard to use std::unique_ptr and std::shared_ptr
|
|
|
|
- SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -std=c++0x")
|
|
|
|
+ # use gnu++14 standard to use std::unique_ptr and std::shared_ptr
|
|
|
|
+ SET(PLATFORM_CXXFLAGS "${PLATFORM_CXXFLAGS} -std=gnu++14")
|
|
|
|
|
|
|
|
ADD_PLATFORM_FLAGS("-D_REENTRANT")
|
|
|
|
|