diff --git a/MacOSX/custom-triplets/x64-osx-10.9.cmake b/MacOSX/custom-triplets/x64-osx-10.9.cmake new file mode 100644 index 00000000..ee7aa5d7 --- /dev/null +++ b/MacOSX/custom-triplets/x64-osx-10.9.cmake @@ -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) \ No newline at end of file diff --git a/MacOSX/setup-vcpkg.sh b/MacOSX/setup-vcpkg.sh new file mode 100755 index 00000000..dbe30464 --- /dev/null +++ b/MacOSX/setup-vcpkg.sh @@ -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