[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

llvm-svn: 366515
This commit is contained in:
Nathan Lanza 2019-07-19 00:20:58 +00:00
parent da00888661
commit 23a0362df9

View File

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