mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
macOS: setup to build some dependencies from vcpkg
- zlib, vorbis, ogg, opus - build static libraries with 10.9 deployment target (this is the lowest I can use on my 10.15 dev machine) - build x86_64 only (I don't have an arm64 machine to test)
This commit is contained in:
parent
95bbcd6e47
commit
0899dacbfa
2 changed files with 14 additions and 0 deletions
8
MacOSX/custom-triplets/x64-osx-10.9.cmake
Normal file
8
MacOSX/custom-triplets/x64-osx-10.9.cmake
Normal file
|
@ -0,0 +1,8 @@
|
|||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
||||
set(VCPKG_OSX_ARCHITECTURES x86_64)
|
||||
|
||||
set(VCPKG_OSX_DEPLOYMENT_TARGET 10.9)
|
6
MacOSX/setup-vcpkg.sh
Executable file
6
MacOSX/setup-vcpkg.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
git clone --depth 1 https://github.com/microsoft/vcpkg
|
||||
./vcpkg/bootstrap-vcpkg.sh
|
||||
|
||||
./vcpkg/vcpkg install --overlay-triplets=custom-triplets --triplet=x64-osx-10.9 zlib libogg opus opusfile libvorbis
|
Loading…
Reference in a new issue