[1.5] jar files are arch independant. We can install them safely in share
This commit is contained in:
parent
3aba3e203b
commit
65f8ae765e
|
@ -63,5 +63,5 @@ ADD_CUSTOM_TARGET(OpenJPEGJavaJar ALL
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/openjpeg.jar
|
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/openjpeg.jar
|
||||||
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
|
DESTINATION ${OPENJPEG_INSTALL_SHARE_DIR} COMPONENT JavaModule
|
||||||
)
|
)
|
||||||
|
|
|
@ -78,7 +78,7 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer.jar
|
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
|
# 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
|
INSTALL(FILES ${LIBRARY_OUTPUT_PATH}/opj_viewer_xerces.jar
|
||||||
DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT JavaModule
|
DESTINATION ${OPENJPEG_INSTALL_SHARE_DIR} COMPONENT JavaModule
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
else(Java_Development_FOUND)
|
else(Java_Development_FOUND)
|
||||||
|
|
Loading…
Reference in New Issue