OpenCVConfig.cmake should not use include_directories (Bug #2777)


Added by Ben Boeckel about 12 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2013-02-06
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:build/install
Target version:3.0
Affected version:2.4.3 Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision a8608bd0
Added by Roman Donchenko almost 11 years ago

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

Also available in: Atom PDF