depends: fix arm64-apple-darwin build

This commit is contained in:
tobtoht 2023-10-03 14:58:08 +02:00
parent f583179d0e
commit 4bb3e74aa9
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -109,6 +109,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(CMAKE_ASM-ATT_COMPILER as)
SET(CMAKE_ASM_COMPILER_TARGET ${CLANG_TARGET})
SET(CMAKE_ASM-ATT_COMPILER_TARGET ${CLANG_TARGET})
SET(CMAKE_AR @prefix@/native/bin/${CLANG_TARGET}-ar)
SET(CMAKE_RANLIB @prefix@/native/bin/${CLANG_TARGET}-ranlib)
SET(APPLE True)
SET(BUILD_64 ON)
SET(BREW OFF)
@ -203,4 +205,4 @@ endif()
set(CMAKE_INSTALL_NAME_TOOL "@CMAKE_INSTALL_NAME_TOOL@" CACHE FILEPATH "")
set(CMAKE_INSTALL_NAME_TOOL "@CMAKE_INSTALL_NAME_TOOL@")
set(OTOOL "@OTOOL@")
set(OTOOL "@OTOOL@")