Added ZLIB as a build depdency to PNG plugin build

This commit is contained in:
Robert Osfield 2020-05-07 11:26:54 +01:00
parent 6ca2487362
commit b29fb0b870

View File

@ -111,7 +111,7 @@ ENDIF()
IF(GIFLIB_FOUND)
ADD_PLUGIN_DIRECTORY(gif)
ENDIF()
IF(PNG_FOUND)
IF(PNG_FOUND AND ZLIB_FOUND)
ADD_PLUGIN_DIRECTORY(png)
ENDIF()
IF(TIFF_FOUND)