mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
fix simulator compiling (#3373)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user