[llvm] r366515 - [cmake] Fix typo where a varible was checked for Apple instead of Darwin
Nathan Lanza via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 17:20:58 PDT 2019
Author: lanza
Date: Thu Jul 18 17:20:58 2019
New Revision: 366515
URL: http://llvm.org/viewvc/llvm-project?rev=366515&view=rev
Log:
[cmake] Fix typo where a varible was checked for Apple instead of Darwin
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64965
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=366515&r1=366514&r2=366515&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Thu Jul 18 17:20:58 2019
@@ -1682,7 +1682,7 @@ function(llvm_codesign name)
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${ARG_ENTITLEMENTS}
)
endif()
- elseif(APPLE AND CMAKE_HOST_SYSTEM_NAME MATCHES APPLE)
+ elseif(APPLE AND CMAKE_HOST_SYSTEM_NAME MATCHES Darwin)
if(NOT CMAKE_CODESIGN)
set(CMAKE_CODESIGN xcrun codesign)
endif()
More information about the llvm-commits
mailing list