Skip to content

Commit

Permalink
Merge pull request microsoft#26 from Be-ing/osx_triplets
Browse files Browse the repository at this point in the history
add custom macOS triplet for Qt6
  • Loading branch information
Be-ing authored Oct 18, 2021
2 parents ff30b02 + 1d83f75 commit 1b70fe2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
File renamed without changes.
19 changes: 19 additions & 0 deletions overlay/triplets/x64-osx-min10.14.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)

# Mixxx loads fdk-aac dynamically at runtime. This allows the user to replace
# the version of fdk-aac we ship which has the patent-encumbered HE-AAC
#removed with another build that supports HE-AAC.
if(${PORT} MATCHES "fdk-aac")
set(VCPKG_LIBRARY_LINKAGE dynamic)
else()
set(VCPKG_LIBRARY_LINKAGE static)
endif()

set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_ARCHITECTURES x86_64)

set(VCPKG_OSX_DEPLOYMENT_TARGET 10.14)
set(VCPKG_C_FLAGS -mmacosx-version-min=10.14)
set(VCPKG_CXX_FLAGS -mmacosx-version-min=10.14)

0 comments on commit 1b70fe2

Please sign in to comment.