Commit 4ca3d854 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Simple MESSAGE ligne 237

parent d5c63fc8
......@@ -234,13 +234,14 @@ LINK_DIRECTORIES( ${GDAL_LIBRARY_DIRS} )
OPTION(OTB_USE_EXTERNAL_ITK "Use an outside build of ITK." OFF)
IF(OTB_USE_EXTERNAL_ITK)
MESSAGE(STATUS "WARNING: If you use EXTERNAL ITK, the JPEG2000 format is not supported !")
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR
MESSAGE(FATAL_ERROR
"Cannot build OTB project without ITK. Please set ITK_DIR or set OTB_USE_EXTERNAL_ITK OFF to use INTERNAL ITK set on OTB/Utilities repository.")
ENDIF(ITK_FOUND)
ENDIF(ITK_FOUND)
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