-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
base: master
Are you sure you want to change the base?
[vcpkg-make] Misc fixes #42954
Conversation
rtabmap failures: unrelated baseine regression (g2o/spdlog). |
@@ -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 .... ]]) |
There was a problem hiding this comment.
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.
In particular: fix cross build and mingw.