[plasma-desktop] Make tests optional

Review Request #122207 - Created Jan. 22, 2015 and submitted - Latest diff uploaded

Information
Andreas Sturmlechner
plasma-desktop
fixes
152b86c...
Reviewers
plasma

This is a small patch for CMakeLists.txt to only require Qt5Test if BUILD_TESTING.
Also changed
kcms/keyboard/CMakeLists.txt
kcms/lookandfeel/CMakeLists.txt
to only add test subdirs if BUILD_TESTING.

Built with and without test.

Loading...