diff options
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt index bbdaee19..e55d19da 100644 --- a/codec/CMakeLists.txt +++ b/codec/CMakeLists.txt @@ -51,7 +51,10 @@ FOREACH(exe j2k_to_image image_to_j2k) TARGET_LINK_LIBRARIES(${exe} m) ENDIF(UNIX) # Install exe - INSTALL_TARGETS(/bin/ ${exe}) + INSTALL(TARGETS ${exe} + EXPORT OpenJPEGTargets + DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications + ) ENDFOREACH(exe) if(BUILD_TESTING) |
