Merge pull request #11173 from alalek:issue_11172

pull/11175/head
Alexander Alekhin 7 years ago committed by GitHub
commit e9b033ef3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmake/OpenCVModule.cmake

@ -698,6 +698,9 @@ endmacro()
# setup include path for OpenCV headers for specified module
# ocv_module_include_directories(<extra include directories/extra include modules>)
macro(ocv_module_include_directories)
if(ENABLE_PRECOMPILED_HEADERS OR OPENCV_INCLUDE_DIR_APPEND_MODULE_SRC)
ocv_target_include_directories(${the_module} "${OPENCV_MODULE_${the_module}_LOCATION}/src")
endif()
ocv_target_include_directories(${the_module}
"${OPENCV_MODULE_${the_module}_LOCATION}/include"
"${CMAKE_CURRENT_BINARY_DIR}" # for precompiled headers

Loading…
Cancel
Save