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

Fix examples building with pkg-config being present on llvm-mingw #754

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amyspark
Copy link
Contributor

@amyspark amyspark commented Jan 6, 2023

By using CMake's official Find Modules and sidestepping pkg-config altogether, we're able to use imported targets without further complexity.

By using CMake's official Find Modules and sidestepping pkg-config
altogether, we're able to use imported targets without further complexity.
@farindk
Copy link
Contributor

farindk commented Jan 18, 2023

Thank you. By accident, I did much of the same work as in your patch just yesterday.
Could have saved me a lot of time had I seen this earlier :-)

I added the unset() lines from your patch (see above).
We cannot yet use the JPEG::JPEG syntax, because we still depend on an older cmake version for packaging on ancient Linux versions. Thus, I'll leave your pull request open as a reminder to use this syntax at a later time.

@amyspark
Copy link
Contributor Author

Great to hear @farindk, thanks!

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