summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-21 12:52:56 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-21 12:52:56 +0000
commit306e58761a77feb686538055e5168eb204bc0d2f (patch)
tree495cfd8a646e349b60f3620da6b58e5010e866ee /codec
parenteb1baa78fc15b2a0622c02c55aeb4d88ce2ffe7c (diff)
minor change
Diffstat (limited to 'codec')
-rw-r--r--codec/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
index f19f50ba..bbdaee19 100644
--- a/codec/CMakeLists.txt
+++ b/codec/CMakeLists.txt
@@ -54,6 +54,7 @@ FOREACH(exe j2k_to_image image_to_j2k)
INSTALL_TARGETS(/bin/ ${exe})
ENDFOREACH(exe)
+if(BUILD_TESTING)
# Do testing here, once we know the examples are being built:
FILE(GLOB_RECURSE OPENJPEG_DATA_IMAGES_GLOB
"${JPEG2000_CONFORMANCE_DATA_ROOT}/*.j2k"
@@ -72,4 +73,4 @@ foreach(filename ${OPENJPEG_DATA_IMAGES_GLOB})
#endif(UNIX)
endforeach(codec_type)
endforeach(filename)
-
+endif(BUILD_TESTING)