diff --git a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt index 4d66d559c3..e285ab70c8 100644 --- a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt +++ b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt @@ -8,7 +8,7 @@ if(APPLE) enable_language(OBJC OBJCXX) endif() -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) option(USE_SE_V8 "USE V8 JavaScript Engine" ON) option(USE_V8_DEBUGGER "Enable Chrome Remote inspector" ON) option(USE_SOCKET "Enable WebSocket & SocketIO" ON) @@ -31,7 +31,7 @@ if(CMAKE_OSX_SYSROOT STREQUAL "iphonesimulator") else() set(TARGET_IOS_VERSION "8.0") endif() -set(TARGET_OSX_VERSION "10.10") +set(TARGET_OSX_VERSION "10.14") set(cocosdir ${CMAKE_CURRENT_LIST_DIR}/../../../..) if(NOT cocosdir)