Make sure to be able to compile index_create on UNIX. Install target

This commit is contained in:
Mathieu Malaterre 2011-02-16 13:55:04 +00:00
parent c9bae1fd46
commit e12008a718
2 changed files with 6 additions and 2 deletions

View File

@ -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 ?

View File

@ -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
)