1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

cmake: don't add include <module>/src directory to avoid conflicts

during opencv_world builds
This commit is contained in:
Alexander Alekhin
2018-03-16 16:36:11 +03:00
parent 22ecdd16ef
commit 6c051a55e5
28 changed files with 45 additions and 46 deletions
-1
View File
@@ -700,7 +700,6 @@ endmacro()
macro(ocv_module_include_directories)
ocv_target_include_directories(${the_module}
"${OPENCV_MODULE_${the_module}_LOCATION}/include"
"${OPENCV_MODULE_${the_module}_LOCATION}/src"
"${CMAKE_CURRENT_BINARY_DIR}" # for precompiled headers
)
ocv_target_include_modules(${the_module} ${OPENCV_MODULE_${the_module}_DEPS} ${ARGN})