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

have the mingw64 pkg-config installed with cmake #5043

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Mar 11, 2019

when running under mingw64.exe/mingw32.exe the pathes from the environment are
transformed into Windows pathes. As a result PKG_CONFIG_PATH because a Windows
path. When passed to the non-mingw pkg-config the path becomes invalid and is
not used properly.

To solve this the mingw pkg-config must be installed. It works with Windows
pathes as expected.

As a background to this issue, this was originally reported to cmake:
https://gitlab.kitware.com/cmake/cmake/issues/18980

when running under mingw64.exe/mingw32.exe the pathes from the environment are
transformed into Windows pathes. As a result PKG_CONFIG_PATH because a Windows
path. When passed to the non-mingw pkg-config the path becomes invalid and is
not used properly.

To solve this the mingw pkg-config must be installed. It works with Windows
pathes as expected.

As a background to this issue, this was originally reported to cmake:
https://gitlab.kitware.com/cmake/cmake/issues/18980
@Alexpux Alexpux merged commit 4e44b02 into msys2:master Mar 11, 2019
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.

2 participants