diff options
Diffstat (limited to 'codec/CMakeLists.txt')
| -rw-r--r-- | codec/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt index a381840c..363c8fd8 100644 --- a/codec/CMakeLists.txt +++ b/codec/CMakeLists.txt @@ -42,7 +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}) + ADD_TEST(${exe} ${EXECUTABLE_OUTPUT_PATH}/${exe}) # On unix you need to link to the math library: IF(UNIX) TARGET_LINK_LIBRARIES(${exe} m) |
