How to set VCPKG_OSX_DEPLOYMENT_TARGET when using vcpkg with cmake?
#39635
Unanswered
JAicewizard
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
This is a triplet variable (https://learn.microsoft.com/en-us/vcpkg/users/triplets#vcpkg_osx_deployment_target), so create a triplet and set the variable in there and then use the triplet. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a project setup with CMAKE and I am using vcpkg to install the dependencies. On macos, the cmake project is build against macos version 11, but the dependencies build with vcpkg build against macos 14 (the host OS version) instead. This does not directly lead to errors, but it does bring up some warnings. Besides, I would like to target older versions as well.
Is there any way to specify the macos target version when invoking cmake?
Beta Was this translation helpful? Give feedback.
All reactions