fix simulator compiling (#3373)

This commit is contained in:
PP
2021-04-02 09:59:06 +08:00
committed by GitHub
parent d8824f8a11
commit a9f42d9c1f
@@ -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)