Skip to content

[vcpkg] x_vcpkg_install_local_dependencies fixes#14977

Merged
ras0219-msft merged 2 commits intomicrosoft:masterfrom
sandercox:vcpkg_install_local_fixes
Dec 8, 2020
Merged

[vcpkg] x_vcpkg_install_local_dependencies fixes#14977
ras0219-msft merged 2 commits intomicrosoft:masterfrom
sandercox:vcpkg_install_local_fixes

Conversation

@sandercox
Copy link
Copy Markdown
Contributor

This patch addresses two issues.
First is a bug in the argument parsing introduced when switching to the PARSE_ARGV style parsing. As this was simply missing an argument where to start the parsing from. As this is in an experimental feature it probably wasn't found earlier.

Second issue is that install command also works on INTERFACE targets, but that there is no way to get a $<TARGET_FILE_NAME:target> on that as these targets simply don't have it. So skipping the install code when target is of type INTEFACE_LIBRARY

@sandercox sandercox changed the title Vcpkg install local fixes [vcpkg] x_vcpkg_install_local_dependencies fixes Dec 7, 2020
@ras0219-msft ras0219-msft merged commit ced334b into microsoft:master Dec 8, 2020
@ras0219-msft
Copy link
Copy Markdown
Contributor

Thanks for the fixes!

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.

3 participants