dolphin/Externals/libpng
nyanpasu64 1a2b6ca2d6 Fix Windows CMake builds with shared zlib
On Linux, if shared zlib is present, zlib.h is always available and -lz
links to zlib, even if you don't run find_package(ZLIB).

For some reason I have zlib installed on Windows (possibly from vcpkg),
so find_package(ZLIB) succeeds and ZLIB_FOUND is true.
When Dolphin uses shared zlib on Windows, the problem is that zlib.h
is not in the default include path, and the CMake target is called
ZLIB::ZLIB and there's neither a target nor a library called z.

However, both find_package(ZLIB) and add_subdirectory(Externals/zlib)
create a target called ZLIB::ZLIB, so I'll switch to that instead.
Hopefully this change doesn't break anyone's build.
2020-07-15 23:25:18 -07:00
..
png Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
CMakeLists.txt Fix Windows CMake builds with shared zlib 2020-07-15 23:25:18 -07:00
png.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
png.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngconf.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngdebug.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngerror.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngget.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pnginfo.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pnglibconf.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngmem.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngpread.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngpriv.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngread.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngrio.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngrtran.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngrutil.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngset.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngstruct.h Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngtest.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngtrans.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngwio.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngwrite.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngwtran.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00
pngwutil.c Update libpng to 1.6.29 2017-05-21 22:42:04 +02:00