summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2019-01-30 11:49:23 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-04 14:03:35 (GMT)
commite8ee8cab97bdb084d4555ee3e76eb33303e3bc85 (patch)
tree3fa33f1ab4a4a21e8f9dbc060322b2feb0276e86 /Modules/CMakeDetermineCompilerId.cmake
parent11da882a1293b39ddd054342b1e6f2f3bd1bc934 (diff)
downloadCMake-e8ee8cab97bdb084d4555ee3e76eb33303e3bc85.zip
CMake-e8ee8cab97bdb084d4555ee3e76eb33303e3bc85.tar.gz
CMake-e8ee8cab97bdb084d4555ee3e76eb33303e3bc85.tar.bz2
Xcode: Completely disable code signing for compiler id detection
Issue: #17870
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index a63d317..5eb7ac9 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -358,18 +358,6 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
else()
set(id_sdkroot "")
endif()
- if(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM)
- set(id_development_team
- "DEVELOPMENT_TEAM = \"${CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM}\";")
- else()
- set(id_development_team "")
- endif()
- if(DEFINED CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY)
- set(id_code_sign_identity
- "CODE_SIGN_IDENTITY = \"${CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY}\";")
- else()
- set(id_code_sign_identity "CODE_SIGN_IDENTITY = \"\";")
- endif()
configure_file(${CMAKE_ROOT}/Modules/CompilerId/Xcode-3.pbxproj.in
${id_dir}/CompilerId${lang}.xcodeproj/project.pbxproj @ONLY)
unset(_ENV_MACOSX_DEPLOYMENT_TARGET)