summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--indexer_JPIP/CMakeLists.txt4
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
+)