diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2007-09-06 16:38:06 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2007-09-06 16:38:06 +0000 |
| commit | 8ac5e7023c18f589f8be996e0ce1304012d22499 (patch) | |
| tree | babfa5365897f6411ae5d63693914a5e9d8731d5 /codec | |
| parent | dfcacb82476411105ff7b0726bd8f3f8212ae1c2 (diff) | |
ENH: Add very simple tests (simply run command line with no option)
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt index 7cb80904..a381840c 100644 --- a/codec/CMakeLists.txt +++ b/codec/CMakeLists.txt @@ -42,6 +42,7 @@ FIND_PACKAGE(TIFF REQUIRED) FOREACH(exe j2k_to_image image_to_j2k) ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS}) TARGET_LINK_LIBRARIES(${exe} ${OPJ_PREFIX}openjpeg ${TIFF_LIBRARIES}) + ADD_TEST(${exe} ${exe}) # On unix you need to link to the math library: IF(UNIX) TARGET_LINK_LIBRARIES(${exe} m) |
