Automaticaly disable plugins that can't be build with installed libraries
Review Request #120121 - Created Sept. 9, 2014 and submitted
It's a nasty trick.
why: because I'm to lazy to click off the plasma plugin everytime I delete the build dir.
nastines: the dependecies are now declared outside of the plugin CMakeLists.txt
even if scripts detects missing library and sets the BUILD_* it will not show up in ccmake as turned off
in current implementation it's quite tedios to list all the dependecies, doesn't cmake have already something for this?
* strictly speaking in kate repository everything is optional dir now. So to strech that even further, the find_package in main CMakeLists.txt could be make optional too:)
running cmake again and again and again...