Skip to content

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

Closed
ekilmer wants to merge 1 commit intomicrosoft:masterfrom
ekilmer:optional-cmake-variables-file
Closed

[vcpkg/scripts] Make cmake-vars file OPTIONAL#14575
ekilmer wants to merge 1 commit intomicrosoft:masterfrom
ekilmer:optional-cmake-variables-file

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