Skip to content

Commit

Permalink
Merge topic 'ios-mac-catalyst' into release-3.31
Browse files Browse the repository at this point in the history
b49b03a Xcode: Use ad-hoc signing during compiler id for iOS Mac Catalyst

Acked-by: Kitware Robot <[email protected]>
Merge-request: !9908
  • Loading branch information
bradking authored and kwrobot committed Oct 17, 2024
2 parents 98ccd88 + b49b03a commit fb1a327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CMakeDetermineCompilerId.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
set(id_clang_cxx_library "CLANG_CXX_LIBRARY = \"${CMAKE_MATCH_3}\";")
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT MATCHES "^$|[Mm][Aa][Cc][Oo][Ss]")
if(CMAKE_OSX_SYSROOT MATCHES "[Mm][Aa][Cc][Oo][Ss]" OR (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT STREQUAL ""))
set(id_code_sign_identity "-")
# When targeting macOS, use only the host architecture.
if (_CMAKE_APPLE_ARCHS_DEFAULT)
Expand Down

0 comments on commit fb1a327

Please sign in to comment.