Work around a regression in extra-cmake-modules to unblock builders.
upstream: https://bugs.kde.org/show_bug.cgi?id=496781