|
|
@@ -611,6 +611,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}\";")
|
|
|
@@ -620,6 +621,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()
|