We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 227100f commit 52e4d1aCopy full SHA for 52e4d1a
ios.toolchain.cmake
@@ -452,9 +452,12 @@ if(MODERN_CMAKE)
452
set(CMAKE_IOS_INSTALL_COMBINED YES CACHE INTERNAL "" ${FORCE_CACHE})
453
message(STATUS "Will combine built (static) artifacts into FAT lib...")
454
endif()
455
-else()
+elseif(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.10")
456
# Legacy code path prior to CMake 3.14 or fallback if no SDK_NAME specified
457
set(CMAKE_SYSTEM_NAME iOS CACHE INTERNAL "" ${FORCE_CACHE})
458
+else()
459
+ # Legacy code path prior to CMake 3.14 or fallback if no SDK_NAME specified
460
+ set(CMAKE_SYSTEM_NAME Darwin CACHE INTERNAL "" ${FORCE_CACHE})
461
462
# Standard settings.
463
set(CMAKE_SYSTEM_VERSION ${SDK_VERSION} CACHE INTERNAL "")
0 commit comments