From 3aba3e203b728a8849e4d984af2c875f07a51616 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 19 Apr 2012 12:30:30 +0000 Subject: [PATCH] [1.5] Add install rules for openjpip client --- applications/jpip/util/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/applications/jpip/util/CMakeLists.txt b/applications/jpip/util/CMakeLists.txt index 6b93b4fc..d4a55c40 100644 --- a/applications/jpip/util/CMakeLists.txt +++ b/applications/jpip/util/CMakeLists.txt @@ -77,6 +77,10 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE) COMMENT "building opj_viewer.jar" ) + INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer.jar + DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule + ) + # 2. opj_viewer_xerces # search for package org.apache.xerces.parsers 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 COMMENT "building opj_viewer_xerces.jar" ) + + INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar + DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule + ) endif() else(Java_Development_FOUND) message(WARNING "No java compiler found. Wont be able to build java viewer")