New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use CMAKE_OSX_DEPLOYMENT_TARGET
to get -version-min
set in CMakeToolchain
#9282
Comments
Thanks for posting a new issue. To answer your questions in the closed issue, yes the change would be:
I had them as separate According to CMake, this setting is also used for tvOS and watchOS: |
@memsharded we have a comment there: conan/conan/tools/cmake/toolchain.py Line 361 in b61f761
|
When I installed 1.39, and removed |
Can you please check if you have the |
I have |
I still have to use
CMAKE_OSX_DEPLOYMENT_TARGET
to get-version-min
set properly in macOS and iOS builds in Conan 1.38.Here's my generate function:
macOS configuration:
iOS configuration:
Adding this to the generate function still fixes it:
So I'm not blocked, but it sounded like you were interested in implementing this capability. Let me know if I should log a separate item.
Originally posted by @ssrobins in #9025 (comment)
The text was updated successfully, but these errors were encountered: