Review Request: Add cmake config for kdeclarative library.

Lamarque Vieira Souza lamarque at
Mon Mar 5 21:55:55 GMT 2012

This is an automatically generated e-mail. To reply, visit:

(Updated March 5, 2012, 9:55 p.m.)

Review request for kdelibs.


Add "set(KDECLARATIVE_FOUND true)" to satisfy macro_log_feature calls.


Currently kdeclarative library does not install the KDeclarativeConfig.cmake and KDeclarativeConfigVersion.cmake to ${LIB_INSTALL_DIR}/cmake/KDeclarative and so other KDE programs cannot find the library using cmake's find_package macro.

kde-workspace, kde-runtime and plasma-mobile currently hardcode the "kdeclarative" library name in their CMakeLists.txt, which is not ideal. Once this patch is submitted we need to fix their CMakeLists.txt to use "find_package(KDeclarative REQUIRED)".

Diffs (updated)

  experimental/libkdeclarative/CMakeLists.txt 0db647c 
  experimental/libkdeclarative/ PRE-CREATION 
  experimental/libkdeclarative/ PRE-CREATION 



I can now compile kde-workspace/ksmserver without using the custom made FindKDeclarative.cmake.


Lamarque Vieira Souza

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list