[Kde-pim] Review Request: Only use the cmake config file from QJson >= 0.7.2

Philip Muskovac yofel at gmx.net
Sat Nov 3 15:16:13 GMT 2012


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

Review request for KDEPIM-Libraries.


Description
-------

Currently kdepimlibs tries to use a qjson cmake config file if one exists and expects it to set the same variables it does when pkg-config is used.
The problem is that qjson 0.7.1 ships a config file too, but with with different variables (qjson_LIBRARIES, qjson_INCLUDE_DIR) so it shouldn't be used.

This change makes sure that for qjson << 0.7.2 the old pkg-config check is used which works fine.


Diffs
-----

  cmake/modules/FindQJSON.cmake 9701c81 

Diff: http://git.reviewboard.kde.org/r/107189/diff/


Testing
-------

Successful compile run.


Thanks,

Philip Muskovac

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list