OpenCVConfig.cmake should not use include_directories (Bug #2777)
Description
When doing a find_package(OpenCV) from CMake, OpenCV should not automatically call include_directories. Just because OpenCV was found does not mean that it should be used automatically. Additionally, it prevents users of OpenCV to mark it as a SYSTEM path which allows the project to ignore warnings from OpenCV headers.
Associated revisions
Merge pull request #2777 from alexstadnik:master
History
Updated by Andrey Kamaev about 12 years ago
Closed as duplicate.
- Target version set to 3.0
- Status changed from Open to Cancelled