~cyberspace/akonadi-facebook/akonadi-facebook-afiestas

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Pino Toscano
  • Date: 2011-06-19 14:59:10 UTC
  • Revision ID: git-v1:54608d5e38f6d6bd6dd5f26145a00ca2cecf8c1e
bump (set) QJSON required version to 0.7

the code was using headers available in qjson >= 0.7, so this actually changes nothing in the requirements.
introduce a QJSON_VERSION_REQUIRED cmake variable holding the version, and pass it to the find_package() and macro_log_feature() calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
find_package(KdepimLibs 4.5.63 REQUIRED)
21
21
find_program(XSLTPROC_EXECUTABLE xsltproc)
22
22
macro_log_feature(XSLTPROC_EXECUTABLE "xsltproc" "The command line XSLT processor from libxslt" "http://xmlsoft.org/XSLT/" TRUE)
23
 
find_package(QJSON)
24
 
macro_log_feature(QJSON_FOUND "QJSON" "Qt library for handling JSON data" "http://qjson.sourceforge.net/" TRUE)
 
23
set(QJSON_VERSION_REQUIRED 0.7)
 
24
find_package(QJSON ${QJSON_VERSION_REQUIRED})
 
25
macro_log_feature(QJSON_FOUND "QJSON" "Qt library for handling JSON data" "http://qjson.sourceforge.net/" TRUE "${QJSON_VERSION_REQUIRED}")
25
26
 
26
27
configure_file(config.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/config.h")
27
28