Merge pull request #706 from mayeut/issue135
[openjpeg.git] / src / bin / jp2 / CMakeLists.txt
index 857a1d92cb55a0196dca2d58e53a3988c03bc774..d583c2e6bb16c9e6b46893d97eeb202369b50d7a 100644 (file)
@@ -11,11 +11,15 @@ set(common_SRCS
   ${OPENJPEG_SOURCE_DIR}/src/bin/common/color.h
   ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c
   ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.h
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_string.h
   )
   
 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(