On Wednesday 04 January 2012 20.54.27 Alexander Neundorf wrote: > It would mean that simply using "kdeclarative" means that cmake > interprets this as name of a library and simply adds -lkdeclarative to the > command > line, without checking whether it actually exists nor in which directory.
I can confirm that this is what happens; it took me quite a while to figure out why stuff didn't compile due to that missing lib. I'm definitely in support of making this a configure check using the Find* cmake file.