[trunk] Since r2060 (and r2059) openjpip is now a first class shared library, instead...
[openjpeg.git] / src / bin / jpip / CMakeLists.txt
index 6264645ac8212a90cf2c8e312b15a0d52c5770f9..45f0007bca301a662efcfc30e9a535de5008639f 100644 (file)
@@ -46,20 +46,9 @@ set(EXES
   opj_dec_server
   opj_jpip_transcode
   opj_jpip_test
-  opj_jpip_compress
   )
 foreach(exe ${EXES})
-  if(${exe} STREQUAL "opj_jpip_compress")
-    add_executable(${exe} ${exe}.c
-      ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c
-      ${OPENJPEG_SOURCE_DIR}/src/bin/jp2/convert.c
-    )
-    target_link_libraries(${exe}
-      ${PNG_LIBNAME} ${TIFF_LIBNAME} ${LCMS_LIBNAME} ${Z_LIBNAME}
-    )
-  else()
-    add_executable(${exe} ${exe}.c)
-  endif()
+add_executable(${exe} ${exe}.c)
   target_link_libraries(${exe} openjpip)
   install(TARGETS ${exe}
     EXPORT OpenJPEGTargets