[1.5] jar files are arch independant. We can install them safely in share

This commit is contained in:
Mathieu Malaterre 2012-04-19 12:40:28 +00:00
parent 3aba3e203b
commit 65f8ae765e
2 changed files with 3 additions and 3 deletions

View File

@ -63,5 +63,5 @@ ADD_CUSTOM_TARGET(OpenJPEGJavaJar ALL
)
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/openjpeg.jar
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
DESTINATION ${OPENJPEG_INSTALL_SHARE_DIR} COMPONENT JavaModule
)

View File

@ -78,7 +78,7 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
)
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer.jar
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
DESTINATION ${OPENJPEG_INSTALL_SHARE_DIR} COMPONENT JavaModule
)
# 2. opj_viewer_xerces
@ -133,7 +133,7 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
)
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
DESTINATION ${OPENJPEG_INSTALL_SHARE_DIR} COMPONENT JavaModule
)
endif()
else(Java_Development_FOUND)