diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d87a2e..ab518ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,5 +76,4 @@ install(FILES
   DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KDEWebKit COMPONENT Devel
 )
 
-include(ECMFeatureSummary)
-ecm_feature_summary(WHAT ALL   FATAL_ON_MISSING_REQUIRED_PACKAGES)
+feature_summary(WHAT ALL   FATAL_ON_MISSING_REQUIRED_PACKAGES)
