If BUILD_SHARED_LIBS is part of standard system cmake args: cantata: error while loading shared libraries: libsolidlite.so: cannot open shared object file: No such file or directory
This is a (cut down) copy of Solid from KDE4.10.1 Only disk/mediaplayer detection is remaining - as this is all Cantata needs.