Fixed #1469
This commit is contained in:
parent
3bdb53e484
commit
7d190084b3
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user