[Digikam-devel] Review Request 119504: Allow searching for libkface using find_package, but without the FindKface.cmake module

Johannes Zarl isilmendil at gmx.net
Sun Jul 27 19:00:20 BST 2014


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

Review request for Digikam.


Repository: libkface


Description
-------

Implement KfaceConfig.cmake with imported targets.

This patch simplifies find_package usage for a project using libkface, and allows regular cmake package versioning to be used:

    find_package(Kface 3.3.0 CONFIG)
    if(Kface_FOUND)
      target_link_libraries(my_program ${KFACE_NAMESPACE}kface )
    endif()

Note: in its current form, this patch uses CMake features only available in CMake >= 2.8.11.


Diffs
-----

  CMakeLists.txt e6910e6 
  cmake/templates/KfaceConfig.cmake.in PRE-CREATION 
  libkface/CMakeLists.txt b14c920 

Diff: https://git.reviewboard.kde.org/r/119504/diff/


Testing
-------


Thanks,

Johannes Zarl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20140727/6e5fc1d9/attachment.html>


More information about the Digikam-devel mailing list