From 097438da203ce6c35d193a99ecf5c5d768ddd8df Mon Sep 17 00:00:00 2001 From: John Zhao Date: Thu, 3 Jan 2019 17:53:56 +0800 Subject: [PATCH] fix(cmake): include opencv dirs if found --- cmake/DetectOpenCV.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/DetectOpenCV.cmake b/cmake/DetectOpenCV.cmake index e82e546..34a5779 100644 --- a/cmake/DetectOpenCV.cmake +++ b/cmake/DetectOpenCV.cmake @@ -47,6 +47,10 @@ else() set(OpenCV_LIB_SEARCH_PATH "${OpenCV_LIB_PATH}") endif() +include_directories( + ${OpenCV_INCLUDE_DIRS} +) + else() set(WITH_OPENCV FALSE)