Commit b62f6263 authored by guillaume pernot's avatar guillaume pernot Committed by guillaume pernot

changed opencv_INCLUDE_DIR to OpenCV_DIR

parent b982ea75
Pipeline #2999 passed with stages
in 63 minutes and 14 seconds
......@@ -21,6 +21,7 @@
# Configuration options for debian-unstable-gcc
set(site_option
"OTB_USE_MPI:BOOL=OFF
"OpenCV_DIR:PATH=/usr
OTB_USE_MPI:BOOL=OFF
OTB_USE_SHARK:BOOL=OFF
")
......@@ -21,9 +21,9 @@
set(OPENCV_SEARCH_PATH)
if(OpenCV_DIR)
get_filename_component(OPENCV_SEARCH_PATH "${OpenCV_DIR}" PATH)
get_filename_component(OPENCV_SEARCH_PATH "${OpenCV_DIR}" REALPATH)
if(OPENCV_SEARCH_PATH)
get_filename_component(OPENCV_SEARCH_PATH "${OPENCV_SEARCH_PATH}" PATH)
get_filename_component(OPENCV_SEARCH_PATH "${OPENCV_SEARCH_PATH}" REALPATH)
endif()
if(OPENCV_SEARCH_PATH)
find_path(
......
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