[1.5] Add explicit linking from glue java lib to real openjpeg lib

This commit is contained in:
Mathieu Malaterre 2012-04-19 10:53:04 +00:00
parent 4e8aea6b5a
commit 875591f664
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ include_directories(
add_library(openjpegjni MODULE add_library(openjpegjni MODULE
${openjpegjni_SRCS} ${openjpegjni_SRCS}
) )
TARGET_LINK_LIBRARIES(openjpegjni ${OPENJPEG_LIBRARY_NAME})
IF(WIN32) IF(WIN32)
SET(OPENJPEG_INSTALL_JNI_DIR ${OPENJPEG_INSTALL_BIN_DIR}) SET(OPENJPEG_INSTALL_JNI_DIR ${OPENJPEG_INSTALL_BIN_DIR})