Fix build with BUILD_TESTING turned off
Summary: Without this it fails to build, as that variable is not exported anywhere else
Reviewers: Plasma, mlaurent
Reviewed By: mlaurent
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D8533