Skip to content

FindPNG: Fix definitions on imported target

Axel Huebl requested to merge ax3l/cmake:fix-cygwinPNG into master

Fix the define of libpng on Cygwin builds for static libs. Users reported a -D-DPNG_STATIC in CXX_DEFINES which fails builds.

https://github.com/pngwriter/pngwriter/issues/136

Topic-rename: FindPNG-static-define

Edited by Brad King

Merge request reports