[PATCH] D64942: [cmake] Only run llvm-codesign if targetting apple on an apple host
Nathan Lanza via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 14:14:27 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL366498: [cmake] Only run llvm-codesign if targetting apple on an apple host (authored by lanza, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64942/new/
https://reviews.llvm.org/D64942
Files:
llvm/trunk/cmake/modules/AddLLVM.cmake
Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/cmake/modules/AddLLVM.cmake
@@ -1682,7 +1682,7 @@
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${ARG_ENTITLEMENTS}
)
endif()
- elseif(APPLE)
+ elseif(APPLE AND CMAKE_HOST_SYSTEM_NAME MATCHES APPLE)
if(NOT CMAKE_CODESIGN)
set(CMAKE_CODESIGN xcrun codesign)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64942.210672.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/665e1354/attachment.bin>
More information about the llvm-commits
mailing list