Skip to content

Commit 9880f65

Browse files
author
Doug Coleman
committed
Revert "cmake: Ensure that CMAKE_CODESIGN is set instead of trying to run empty"
This reverts commit f3b7485.
1 parent 3687257 commit 9880f65

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ function (swift_benchmark_compile_archopts)
321321
"-c"
322322
"-o" "${objcfile}")
323323

324-
precondition(CMAKE_CODESIGN MESSAGE "CMAKE_CODESIGN is required, please set it")
325324
add_custom_command(
326325
OUTPUT "${OUTPUT_EXEC}"
327326
DEPENDS

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ function(_add_swift_lipo_target)
465465
is_darwin_based_sdk("${LIPO_SDK}" IS_DARWIN)
466466
if(IS_DARWIN)
467467
if(LIPO_CODESIGN)
468-
precondition(CMAKE_CODESIGN MESSAGE "CMAKE_CODESIGN is required, please set it")
469468
set(codesign_command COMMAND "${CMAKE_CODESIGN}" "-f" "-s" "-" "${LIPO_OUTPUT}")
470469
endif()
471470
# Use lipo to create the final binary.

0 commit comments

Comments
 (0)