[1.5] Add install rules for openjpip client
This commit is contained in:
parent
95cf10e979
commit
3aba3e203b
|
@ -77,6 +77,10 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
|
||||||
COMMENT "building opj_viewer.jar"
|
COMMENT "building opj_viewer.jar"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer.jar
|
||||||
|
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
|
||||||
|
)
|
||||||
|
|
||||||
# 2. opj_viewer_xerces
|
# 2. opj_viewer_xerces
|
||||||
# search for package org.apache.xerces.parsers
|
# search for package org.apache.xerces.parsers
|
||||||
find_file(APACHE_XERCES_JAR
|
find_file(APACHE_XERCES_JAR
|
||||||
|
@ -127,6 +131,10 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
|
||||||
DEPENDS ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar
|
DEPENDS ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar
|
||||||
COMMENT "building opj_viewer_xerces.jar"
|
COMMENT "building opj_viewer_xerces.jar"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar
|
||||||
|
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
else(Java_Development_FOUND)
|
else(Java_Development_FOUND)
|
||||||
message(WARNING "No java compiler found. Wont be able to build java viewer")
|
message(WARNING "No java compiler found. Wont be able to build java viewer")
|
||||||
|
|
Loading…
Reference in New Issue