[Digikam-devel] [Bug 264231] cmakelist.txt opencv-check broken

Michael G. Hansen mike at mghansen.de
Thu Jan 27 17:53:22 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=264231





--- Comment #9 from Michael G. Hansen <mike mghansen de>  2011-01-27 18:53:20 ---
SVN commit 1217507 by mghansen:

Implement a fallback mechanism for OpenCV detection: If FIND_PACKAGE(OpenCV)
can not find OpenCV, try to find it again using another version of
FindOpenCV.cmake which is shipped with libkface and can still find OpenCV on
some systems.

Tested under debian sid:

Normal installation of OpenCV via apt-get: OpenCV is found at the first try.
Remove /usr/share/opencv/OpenCVConfig.cmake: First try fails, but the
FindOpenCV.cmake shipped with libkface still finds OpenCV at the second try.
If no OpenCV is installed at all, CMake stops after the second attempt, as it
should be.

CCBUG: 264231



 M  +0 -7      CMakeLists.txt  
 M  +4 -8      README  
 M  +19 -6     extra/libkface/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1217507

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list