Skip to content

Commit

Permalink
Update ios.toolchain.cmake
Browse files Browse the repository at this point in the history
Remove the now 8-year-old-removal of the flag "CMAKE_XCODE_EFFECTIVE_PLATFORMS" erroneously used in the mac catalyst builds.
  • Loading branch information
leetal authored Aug 10, 2023
1 parent 350f999 commit 9dba5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ endif()
if(CMAKE_GENERATOR MATCHES "Xcode" AND PLATFORM_INT MATCHES "^MAC_CATALYST")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
set(CMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS "macosx")
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-maccatalyst")
set(CMAKE_XCODE_ATTRIBUTE_SUPPORTS_MACCATALYST "YES")
if(NOT DEFINED MACOSX_DEPLOYMENT_TARGET)
set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET "10.15")
else()
Expand Down

0 comments on commit 9dba5f6

Please sign in to comment.