Restore LIBPNG for png files

Restores the use of libpng for png files as stb does not support writing out 16bit png files.
This commit is contained in:
marauder2k7 2025-12-31 11:00:07 +00:00
parent e9296bc882
commit 7f351ef429
489 changed files with 170208 additions and 108 deletions

View file

@ -97,7 +97,7 @@ set(TORQUE_COMPILE_DEFINITIONS ICE_NO_DLL PCRE_STATIC TORQUE_ADVANCED_LIGHTING T
TORQUE_UNICODE UNICODE _UNICODE)
# All link libraries. Modules should append to this the path to specify additional link libraries (.a, .lib, .dylib, .so)
set(TORQUE_LINK_LIBRARIES tinyxml2 collada squish opcode assimp SDL2 glad pcre convexMath zlib)
set(TORQUE_LINK_LIBRARIES png_static tinyxml2 collada squish opcode assimp SDL2 glad pcre convexMath zlib)
if(TORQUE_TESTING)
set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} gtest gmock)