diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-02-16 13:55:04 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2011-02-16 13:55:04 +0000 |
| commit | e12008a7187145a324a793cfed44abc380a25e91 (patch) | |
| tree | 114b484272b5f3b05b7722895f093c73ea138af6 | |
| parent | c9bae1fd465da0bde963bd4c06c5903682f6e123 (diff) | |
Make sure to be able to compile index_create on UNIX. Install target
| -rw-r--r-- | CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indexer_JPIP/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c2137930..c2e5a9a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,9 +184,9 @@ ENDIF(BUILD_JP3D) #----------------------------------------------------------------------------- # Build INDEXER_JPIP executables ? OPTION(BUILD_INDEXER_JPIP "Build the INDEXER_JPIP executables" OFF) -IF(BUILD_INDEXER_JPIP AND NOT UNIX) +IF(BUILD_INDEXER_JPIP) SUBDIRS(indexer_JPIP) -ENDIF(BUILD_INDEXER_JPIP AND NOT UNIX) +ENDIF(BUILD_INDEXER_JPIP) #----------------------------------------------------------------------------- # Build DOCUMENTATION ? diff --git a/indexer_JPIP/CMakeLists.txt b/indexer_JPIP/CMakeLists.txt index 4dbb95b0..c8e378d1 100644 --- a/indexer_JPIP/CMakeLists.txt +++ b/indexer_JPIP/CMakeLists.txt @@ -3,3 +3,7 @@ ADD_EXECUTABLE(index_create bio.c cio.c int.c pi.c t2.c tgt.c tcd.c index_create.c jpip.c jp2.c ) +INSTALL(TARGETS index_create + EXPORT OpenJPEGTargets + DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications +) |
