When running cmake, there should be a summary output that lists each possible dependency along with it's type (required, optional, foreign system), status (found/not found) and purpose. E.g. Qt: Version 4.8.3 found (required, core dependency) liblocation: Not found (Maemo only, location provider) libwlocate: Found (optional, location provider) libshp: Not found (optional, support for opening .shp files)
Patch at https://git.reviewboard.kde.org/r/107465/
Pushed to the kitchen branch.