summaryrefslogtreecommitdiff
path: root/Tests/XCTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-26 13:41:58 -0400
committerBrad King <brad.king@kitware.com>2020-09-01 10:38:22 -0400
commitd1688ff3009d19d07c08a7f90b0e09a7f9e47032 (patch)
treea6fc1dca083c92c1ec57e4440b3ce923301cabff /Tests/XCTest
parent266f97315b4866ad546b95abb6ea417f83818602 (diff)
downloadcmake-d1688ff3009d19d07c08a7f90b0e09a7f9e47032.tar.gz
Tests: Tell Xcode to disallow signing altogether in relevant cases
The Xcode 'new build system' rejects empty signing identities unless signing is explicitly marked as not allowed. Update test cases where we turn off signing to explicitly disallow it too. Also turn off signing in the XCTest test.
Diffstat (limited to 'Tests/XCTest')
-rw-r--r--Tests/XCTest/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/XCTest/CMakeLists.txt b/Tests/XCTest/CMakeLists.txt
index d0b07ea1ca..a070651236 100644
--- a/Tests/XCTest/CMakeLists.txt
+++ b/Tests/XCTest/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.1)
project(XCTest C)
enable_testing()
+set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO")
+set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
+set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
+
find_package(XCTest REQUIRED)
# Framework