Bug 838125 - OpenCVConfig.cmake gives wrong OpenCV_INCLUDE_DIRS
Summary: OpenCVConfig.cmake gives wrong OpenCV_INCLUDE_DIRS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opencv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rakesh Pandit
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-06 17:39 UTC by Ben Boeckel
Modified: 2012-07-22 17:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-22 17:46:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Boeckel 2012-07-06 17:39:39 UTC
Description of problem:
The OpenCV_INSTALL_PATH is computed incorrectly. Instead of ../../../, it is using ../../ which results in include directories such as /usr/lib64/include/opencv.

Version-Release number of selected component (if applicable):
opencv-2.3.1-8.fc17.x86_64

Comment 1 Nicolas Chauvet (kwizart) 2012-07-06 17:44:26 UTC
Patch welcomed, until then please use pkgconfig opencv.pc
Please retest with opencv 2.4.1 currently in the fedora devel branch (not built yet).

Since OpenCVConfig.cmake is broken, please consider it unreliable before (at least) opencv 2.4.3

Comment 2 Honza Horak 2012-07-10 11:58:31 UTC
A patch included in opencv-2.4.2-1.fc18 should fix it, you can test the rawhide build:
http://koji.fedoraproject.org/koji/buildinfo?buildID=329744


Note You need to log in before you can comment on or make changes to this bug.