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-make] Misc fixes #42954

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

[vcpkg-make] Misc fixes #42954

wants to merge 10 commits into from

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Dec 26, 2024

In particular: fix cross build and mingw.

@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Dec 27, 2024
@dg0yt
Copy link
Contributor Author

dg0yt commented Dec 27, 2024

rtabmap failures: unrelated baseine regression (g2o/spdlog).

@dg0yt
Copy link
Contributor Author

dg0yt commented Dec 27, 2024

CC @JavierMatosD

@@ -65,6 +65,7 @@ function(z_vcpkg_make_determine_host_arch out_var)
elseif(DEFINED ENV{PROCESSOR_ARCHITECTURE})
set(arch $ENV{PROCESSOR_ARCHITECTURE})
else()
z_vcpkg_make_get_cmake_vars(#[[ LANGUAGES .... ]])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It would be better to call it only once early in vcpkg_make_configure, after unified setup of arguments, instead of calling it immediately before use. ATM CMake is run only once, regardless of changing arguments. So the first call must have all arguments right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants