mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 14:42:03 +00:00
parent
5a2e955771
commit
958c86fc6a
2 changed files with 3 additions and 1 deletions
|
@ -614,6 +614,7 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
|
|||
endif()
|
||||
endif()
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT MATCHES "^$|[Mm][Aa][Cc][Oo][Ss]")
|
||||
set(id_code_sign_identity "-")
|
||||
# When targeting macOS, use only the host architecture.
|
||||
if (_CMAKE_APPLE_ARCHS_DEFAULT)
|
||||
set(id_archs "ARCHS = \"${_CMAKE_APPLE_ARCHS_DEFAULT}\";")
|
||||
|
@ -623,6 +624,7 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
|
|||
set(id_arch_active "ONLY_ACTIVE_ARCH = YES;")
|
||||
endif()
|
||||
else()
|
||||
set(id_code_sign_identity "")
|
||||
set(id_archs "")
|
||||
set(id_arch_active "ONLY_ACTIVE_ARCH = YES;")
|
||||
endif()
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
1DEB928608733DD80010E9CD = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_IDENTITY = "@id_code_sign_identity@";
|
||||
PRODUCT_NAME = CompilerId@id_lang@;
|
||||
};
|
||||
name = Debug;
|
||||
|
|
Loading…
Reference in a new issue