Commit 7d190084 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed #1469

parent 3bdb53e4
...@@ -135,6 +135,7 @@ if(NOT "${OpenCV_SOURCE_PATH}" STREQUAL "") ...@@ -135,6 +135,7 @@ if(NOT "${OpenCV_SOURCE_PATH}" STREQUAL "")
# We only need the "core",... part here: "opencv_core" -> "core" # We only need the "core",... part here: "opencv_core" -> "core"
STRING(REGEX REPLACE "opencv_(.*)" "\\1" __MODNAME ${__CVLIB}) STRING(REGEX REPLACE "opencv_(.*)" "\\1" __MODNAME ${__CVLIB})
INCLUDE_DIRECTORIES("${OpenCV_SOURCE_PATH}/modules/${__MODNAME}/include") INCLUDE_DIRECTORIES("${OpenCV_SOURCE_PATH}/modules/${__MODNAME}/include")
LIST(APPEND OpenCV_INCLUDE_DIRS "${OpenCV_SOURCE_PATH}/modules/${__MODNAME}/include")
endforeach() endforeach()
endif() endif()
......
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