Commit 7eb4d22e authored by Mickael Savinaud's avatar Mickael Savinaud

ENH: add the module part to support external OpenJPEG

parent 856735e1
project(OTBOpenJPEG)
set(OTBOpenJPEG_THIRD_PARTY 1)
set(OTBOpenJPEG_LIBRARIES otbopenjpeg)
set(OTBOpenJPEG_INCLUDE_DIRS
${OTBOpenJPEG_BINARY_DIR}/src
)
otb_module_impl()
set(OTBOpenJPEG_SYSTEM_INCLUDE_DIRS ${OPENJPEG_INCLUDE_DIRS})
set(OTBOpenJPEG_LIBRARIES "${OPENJPEG_LIBRARIES}")
otb_module_impl()
set(DOCUMENTATION "This module provides OpenJPEG")
set(DOCUMENTATION "This module imports OpenJPEG to the build system")
otb_module(OTBOpenJPEG
DEPENDS
TEST_DEPENDS
DESCRIPTION
"${DOCUMENTATION}"
)
)
otb_module_activation_option("Enable OpenJpeg dependent modules. Note that this may not be needed if your GDal has a JPEG2000 compatible driver (other than jasper)" ON)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment