Review Request 125381: Fix OpenCV finding for v3 with disabled ENABLE_OPENCV3

Albert Astals Cid aacid at kde.org
Sat Feb 25 23:07:13 GMT 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125381/#review102611
-----------------------------------------------------------



Patch doesn't apply anymore to master branch.

- Albert Astals Cid


On Sept. 24, 2015, 8:58 p.m., Dāvis Mosāns wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125381/
> -----------------------------------------------------------
> 
> (Updated Sept. 24, 2015, 8:58 p.m.)
> 
> 
> Review request for Digikam.
> 
> 
> Repository: digikam
> 
> 
> Description
> -------
> 
> When have OpenCV v3 but ENABLE_OPENCV3 isn't enabled then CMake will fail to find OpenCV with message
> 
> -- Great, found OpenCV on the first try.
> -- OpenCV Root directory is: /usr/share/opencv
> -- OpenCV: Found version 3.0.0 (required: 2.4.9)
> -- OpenCV headers: /usr/include/opencv;/usr/include
> -- OpenCV libs   : opencv_core;opencv_highgui;opencv_objdetect;opencv_imgproc
> -- ENABLE_OPENCV3 option is disabled and OpenCV >= 3.0.0 have been found. **Enabled ENABLE_OPENCV3**
> CMake Error at cmake/modules/MacroUtils.cmake:44 (message):
>    libopencv is needs. You need to install the libopencv (version >= 2.4.9) development package.
> Call Stack (most recent call first):
>    CMakeLists.txt:425 (PRINT_LIBRARY_STATUS)
> 
> 
> For this case just enable ENABLE_OPENCV3
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt 94d5855332f1a4ecf3f7bd5117dff7d56810ff31 
> 
> Diff: https://git.reviewboard.kde.org/r/125381/diff/
> 
> 
> Testing
> -------
> 
> It finds OpenCV
> 
> 
> Thanks,
> 
> Dāvis Mosāns
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20170225/66d03849/attachment.html>


More information about the Digikam-devel mailing list