From 875591f664a9a3e19608356dc407a3181e10f831 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 19 Apr 2012 10:53:04 +0000 Subject: [PATCH] [1.5] Add explicit linking from glue java lib to real openjpeg lib --- applications/JavaOpenJPEG/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/JavaOpenJPEG/CMakeLists.txt b/applications/JavaOpenJPEG/CMakeLists.txt index 6906fbf8..c3c99bc5 100644 --- a/applications/JavaOpenJPEG/CMakeLists.txt +++ b/applications/JavaOpenJPEG/CMakeLists.txt @@ -20,6 +20,7 @@ include_directories( add_library(openjpegjni MODULE ${openjpegjni_SRCS} ) +TARGET_LINK_LIBRARIES(openjpegjni ${OPENJPEG_LIBRARY_NAME}) IF(WIN32) SET(OPENJPEG_INSTALL_JNI_DIR ${OPENJPEG_INSTALL_BIN_DIR})