Skip to content

[vcpkg.cmake] fix find_package not restoring variables correctly.#27689

Merged
ras0219-msft merged 8 commits intomicrosoft:masterfrom
Neumann-A:args_find_package
Nov 16, 2022
Merged

[vcpkg.cmake] fix find_package not restoring variables correctly.#27689
ras0219-msft merged 8 commits intomicrosoft:masterfrom
Neumann-A:args_find_package

Conversation

@Neumann-A
Copy link
Copy Markdown
Contributor

@Neumann-A Neumann-A commented Nov 7, 2022

closes #27498
closes #19030

github-actions[bot]
github-actions bot previously approved these changes Nov 7, 2022
github-actions[bot]
github-actions bot previously approved these changes Nov 7, 2022
@Neumann-A
Copy link
Copy Markdown
Contributor Author

@BillyONeal: another angle related failure in x64-linux here. ninja: error: '/mnt/vcpkg-ci/installed/x64-linux/lib/libEGL.a', needed by 'exe', missing and no known rule to make it.

@dg0yt: I assume you already encountered that one.

@LilyWangLL LilyWangLL added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Nov 7, 2022
@Neumann-A
Copy link
Copy Markdown
Contributor Author

@BillyONeal: I also request a full rebuild here. (which will automatically resolve the x64-linux error)

@LilyWangLL LilyWangLL added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Nov 14, 2022
Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ras0219-msft This LGTM, can you double check?

@BillyONeal
Copy link
Copy Markdown
Member

Note to self: If Robert doesn't merge by EOD Wednesday, merge.

Copy link
Copy Markdown
Contributor

@ras0219-msft ras0219-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think we could use slightly shorter variable names but all the logic looks correct.

Thank you very much for fixing this issue!

@ras0219-msft ras0219-msft merged commit 90b616f into microsoft:master Nov 16, 2022
@Neumann-A Neumann-A deleted the args_find_package branch November 16, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[vcpkg.cmake] Variable scoping bug in vcpkg.cmake find_package override [vcpkg.cmake] find_package override not correctly reseting vars.

4 participants