Commit d622f683 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

Set definitions USE_OPJ_DEPRECATED for openjpeg

parent a626f82f
......@@ -99,7 +99,7 @@ IF(OTB_USE_EXTERNAL_ITK)
ELSE(OTB_USE_EXTERNAL_ITK)
# Add compiler option
IF(OTB_USE_JPEG2000)
ADD_DEFINITIONS(-DOTB_USE_JPEG2000)
ADD_DEFINITIONS(-DOTB_USE_JPEG2000 -DUSE_OPJ_DEPRECATED)
ENDIF(OTB_USE_JPEG2000)
ENDIF(OTB_USE_EXTERNAL_ITK)
......
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