mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
fix cmake error (#3902)
This commit is contained in:
@@ -91,7 +91,7 @@ endif()
|
||||
|
||||
if(USE_JOB_SYSTEM_TASKFLOW)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
if("${TARGET_IOS_VERSION}" VERSION_LESS "12.0")
|
||||
if(IOS AND "${TARGET_IOS_VERSION}" VERSION_LESS "12.0")
|
||||
message(FATAL_ERROR "Target iOS version requires 12.0+ when enable taskflow")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user