Skip to content
Snippets Groups Projects
Commit ecb04107 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: add warning for openCV versions

parent e5aa42d8
No related branches found
No related tags found
No related merge requests found
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")
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment