-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
CMake: Fix Windows Overlay PNG linking issue. #778
Conversation
gszadkow
commented
Jun 3, 2018
- Building libpng from patched sources.
- Linking to Overlay
- Building libpng from patched sources. - Linking to Overlay
how is this needed? The Overlay component neither directly nor indirectly links against against libpng. Only the optional freeimage plugin uses libpng via freeimage. |
Steps to reproduce:
or:
... You can also reproduce this from CMake GUI and MSVC, but I find CLI more convinient to reproduce/automate build. Linking PNG to Overlay target as in proposed solution solved issue for me. |
somehow freetype picks up png on your system, which it should not. Try force disabling it by adding |
Now it seems to build without any problems for all configurations
|
thanks 👍 |
Improvements on Terra system --HG-- branch : v2-1