git commit -a
This commit is contained in:
parent
c6c49865fe
commit
d5247be61d
|
@ -0,0 +1,4 @@
|
||||||
|
**openjpeg/wrapping/java/openjp2/CMakeLists.txt with BUILD_THIRDPARTY change**
|
||||||
|
|
||||||
|
This changes allows usage of 'BUILD_THIRDPART:bool=on'.
|
||||||
|
|
|
@ -15,12 +15,23 @@ include_directories(${JNI_INCLUDE_DIRS})
|
||||||
|
|
||||||
# required header file:
|
# required header file:
|
||||||
include_directories(
|
include_directories(
|
||||||
${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h
|
${JNI_INCLUDE_DIRS}
|
||||||
${OPENJPEG_SOURCE_DIR}/src/lib/openmj2
|
${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 # openjpeg.h
|
||||||
${OPENJPEG_SOURCE_DIR}/src/bin/common
|
${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h,opj_config_private.h
|
||||||
${OPENJPEG_SOURCE_DIR}/src/bin/jp2
|
${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
|
add_library(openjpegjni MODULE
|
||||||
${openjpegjni_SRCS}
|
${openjpegjni_SRCS}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue