Make sure to be able to compile index_create on UNIX. Install target
This commit is contained in:
parent
c9bae1fd46
commit
e12008a718
|
@ -184,9 +184,9 @@ ENDIF(BUILD_JP3D)
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build INDEXER_JPIP executables ?
|
# Build INDEXER_JPIP executables ?
|
||||||
OPTION(BUILD_INDEXER_JPIP "Build the INDEXER_JPIP executables" OFF)
|
OPTION(BUILD_INDEXER_JPIP "Build the INDEXER_JPIP executables" OFF)
|
||||||
IF(BUILD_INDEXER_JPIP AND NOT UNIX)
|
IF(BUILD_INDEXER_JPIP)
|
||||||
SUBDIRS(indexer_JPIP)
|
SUBDIRS(indexer_JPIP)
|
||||||
ENDIF(BUILD_INDEXER_JPIP AND NOT UNIX)
|
ENDIF(BUILD_INDEXER_JPIP)
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build DOCUMENTATION ?
|
# Build DOCUMENTATION ?
|
||||||
|
|
|
@ -3,3 +3,7 @@
|
||||||
ADD_EXECUTABLE(index_create
|
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
|
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
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue