Merge pull request #528 from mayeut/zlib-1.2.8
[openjpeg.git] / src / bin / jp2 / CMakeLists.txt
index 857a1d92cb55a0196dca2d58e53a3988c03bc774..7e2476dfb3cd991f431117f41441b524679db201 100644 (file)
@@ -16,6 +16,9 @@ set(common_SRCS
 if(OPJ_HAVE_LIBTIFF)
        list(APPEND common_SRCS converttif.c)
 endif()
+if(OPJ_HAVE_LIBPNG)
+       list(APPEND common_SRCS convertpng.c)
+endif()
 
 # Headers file are located here:
 include_directories(