Skip to content
Snippets Groups Projects
Commit 833c9f77 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: fix opencv search path

parent 2e2fd748
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,9 @@ if ( opencv_INCLUDE_DIR )
endif()
endif()
if(NOT OPENCV_SEARCH_PATH)
get_filename_component(OPENCV_SEARCH_PATH "${opencv_INCLUDE_DIR}" PATH)
endif()
# Prefer the static library.
find_library(
......
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