Make Mac SDK into a regular depends package

This commit is contained in:
Howard Chu 2022-05-05 16:29:11 +01:00
parent e81ab9bc2c
commit 7ea1e214c5
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
11 changed files with 17 additions and 54 deletions

View file

@ -95,7 +95,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
SET(BUILD_64 ON)
SET(BREW OFF)
SET(PORT OFF)
SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX11.1.sdk/")
SET(CMAKE_OSX_SYSROOT "@prefix@/native/SDK/")
SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.08")
SET(CMAKE_CXX_STANDARD 14)
SET(LLVM_ENABLE_PIC OFF)