-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[python3] Install pkg-config files on Windows platforms #22198
Conversation
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.
These changes assume that both release and debug builds are being built. It needs to be made safe for release only and debug only triplets.
Thanks for your PR. Please run command |
Fixed now |
ports/python3/portfile.cmake
Outdated
@@ -158,6 +159,30 @@ if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP) | |||
) | |||
endif() | |||
|
|||
vcpkg_backup_env_variables(VARS prefix exec_prefix libdir includedir VERSION) |
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.
Maybe I'm confused by my understanding is that configure_file
only looks at CMake variables, not environment variables, so this call to vcpkg_backup_env_variables
and vcpkg_restore_env_variables
doesn't seem to have an effect?
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.
Ping @mkhon for response.
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.
Yes, @BillyONeal is right - I updated the PR
Thanks! |
Install pkg-config configuration files on Windows platforms (msbuild builds)
What does your PR fix?
Which triplets are supported/not supported? Have you updated the CI baseline?
all
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/