git commit -a

This commit is contained in:
szukw000 2015-06-30 16:34:10 +00:00
parent c6c49865fe
commit d5247be61d
2 changed files with 20 additions and 5 deletions

4
README.java.md Normal file
View File

@ -0,0 +1,4 @@
**openjpeg/wrapping/java/openjp2/CMakeLists.txt with BUILD_THIRDPARTY change**
This changes allows usage of 'BUILD_THIRDPART:bool=on'.

View File

@ -15,12 +15,23 @@ include_directories(${JNI_INCLUDE_DIRS})
# required header file:
include_directories(
${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h
${OPENJPEG_SOURCE_DIR}/src/lib/openmj2
${OPENJPEG_SOURCE_DIR}/src/bin/common
${OPENJPEG_SOURCE_DIR}/src/bin/jp2
${JNI_INCLUDE_DIRS}
${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 # openjpeg.h
${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h,opj_config_private.h
${OPENJPEG_SOURCE_DIR}/src/bin/common # color.h
${OPENJPEG_BINARY_DIR}/src/bin/common # opj_apps_config.h
${OPENJPEG_SOURCE_DIR}/src/bin/jp2 # convert.h
)
if(BUILD_THIRDPARTY)
include_directories(
${OPENJPEG_SOURCE_DIR}/thirdparty/include
${OPENJPEG_SOURCE_DIR}/thirdparty/liblcms2/include
${OPENJPEG_SOURCE_DIR}/thirdparty/libpng
${OPENJPEG_SOURCE_DIR}/thirdparty/libtiff
${OPENJPEG_BINARY_DIR}/thirdparty/libtiff
)
endif()
#
add_library(openjpegjni MODULE
${openjpegjni_SRCS}
)