Commit ecb04107 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: add warning for openCV versions

parent e5aa42d8
find_package ( OpenCV REQUIRED )
mark_as_advanced( OpenCV_DIR )
if("${OpenCV_VERSION}" VERSION_LESS "2.4.0")
message(WARNING "The OpenCV version detected (${OpenCV_VERSION}) is older than 2.4.0, "
"it may not be fully compatible with OTB")
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