Skip to content
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

[vcpkg/scripts] Make cmake-vars file OPTIONAL #14575

Closed

Conversation

ekilmer
Copy link
Contributor

@ekilmer ekilmer commented Nov 15, 2020

This fixes the case where a custom triplet specifies only one build type.

ping @Neumann-A , author of #12936 where this line was introduced.

There's almost definitely a more robust solution than this, like one that might warn if the file was missing, but I feel like this PR is a good enough fix, since my custom triplet (Release-builds only) is broken without it.

This fixes the case where a custom triplet specifies only one build
type.
@ekilmer ekilmer marked this pull request as ready for review November 15, 2020 02:12
@ekilmer
Copy link
Contributor Author

ekilmer commented Nov 15, 2020

Seems libarchive is failing. It shouldn't be from my changes... should it?

Edit: Just saw this PR #14571

@Neumann-A
Copy link
Contributor

please close. The include should not be optional -> see #14580

@ekilmer
Copy link
Contributor Author

ekilmer commented Nov 15, 2020

@Neumann-A Thank you for implementing a better solution!

@ekilmer ekilmer closed this Nov 15, 2020
@ekilmer ekilmer deleted the optional-cmake-variables-file branch November 15, 2020 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants