summaryrefslogtreecommitdiff
path: root/applications/codec
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-07-13 16:49:53 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-07-13 16:49:53 +0000
commit65f7f8dc506e3c889e137bef1c730644fc7798eb (patch)
treed2b3b3c100541849d7e47e3982b053a61bcd2eda /applications/codec
parent36c8d85f4335b3d6dd518e45efe3b6ccedda4c06 (diff)
improved some CMakeLists files linked to the build of applications which used thirdparty
Diffstat (limited to 'applications/codec')
-rw-r--r--applications/codec/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/applications/codec/CMakeLists.txt b/applications/codec/CMakeLists.txt
index 1a25d310..e39f41f3 100644
--- a/applications/codec/CMakeLists.txt
+++ b/applications/codec/CMakeLists.txt
@@ -1,4 +1,4 @@
- # Build the demo app, small examples
+# Build the demo app, small examples
# First thing define the common source:
SET(common_SRCS
@@ -37,11 +37,7 @@ ENDIF(WIN32)
FOREACH(exe j2k_to_image image_to_j2k j2k_dump)
ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS})
TARGET_LINK_LIBRARIES(${exe} ${OPENJPEG_LIBRARY_NAME}
-${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
-
- IF(LCMS_FOUND OR LCMS2_FOUND)
- TARGET_LINK_LIBRARIES(${exe} ${LCMS_LIBNAME})
- ENDIF(LCMS_FOUND OR LCMS2_FOUND)
+${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME} ${LCMS_LIBNAME} )
ADD_TEST(${exe} ${EXECUTABLE_OUTPUT_PATH}/${exe})
# calling those exe without option will make them fail always: