diff options
author | Brad King <brad.king@kitware.com> | 2015-01-11 21:41:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-11 21:50:39 (GMT) |
commit | 7b7209f63579f701afb665c9542ada584ee64328 (patch) | |
tree | 12ff428828f4ae3414390394d4bf57c065f99a5f /Modules/CMakeDetermineCompilerId.cmake | |
parent | c118816d44e178e4364a0c32aaece81a14511237 (diff) | |
download | CMake-7b7209f63579f701afb665c9542ada584ee64328.zip CMake-7b7209f63579f701afb665c9542ada584ee64328.tar.gz CMake-7b7209f63579f701afb665c9542ada584ee64328.tar.bz2 |
Xcode: Do not require code signing for compiler id (#15214)
The approach in commit v3.1.0-rc1~1^2 (Xcode: Fix compiler id detection
when code signing is required, 2014-10-22) still requires a code signing
key when targeting a real device. Instead set CODE_SIGNING_REQUIRED to
"NO" to tell Xcode not to sign at all. Drop the corresponding setting
of the code signing identity.
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r-- | Modules/CMakeDetermineCompilerId.cmake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index 6c6a914..47d351a 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -270,11 +270,6 @@ Id flags: ${testflags} else() set(id_sdkroot "") endif() - if(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 "") - endif() if(NOT ${XCODE_VERSION} VERSION_LESS 3) set(v 3) set(ext xcodeproj) |