[PATCH] D64965: [cmake] Fix typo where a varible was checked for Apple instead of Darwin

Nathan Lanza via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 17:21:38 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL366515: [cmake] Fix typo where a varible was checked for Apple instead of Darwin (authored by lanza, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64965/new/

https://reviews.llvm.org/D64965

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 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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64965.210711.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190719/05b34841/attachment.bin>


More information about the llvm-commits mailing list