Fix build with `-DBUILD_TESTING=OFF`

1 job for !217 with fix_build_wo_testing in 32 minutes and 56 seconds (queued for 18 minutes and 12 seconds)
detached
Status Job ID Name Coverage
  Build
passed #86467
linux kf5-qt5 qt5.15

00:32:56

46.0%