diff --git a/CMakeLists.txt b/CMakeLists.txt
index c0bcfcea96f7167e09d1f1008cf11715f3c9bd40..198ed2a2a8001b1719e439f6667281d7d60ec481 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,6 +67,10 @@ macro_log_feature(
     "KCrash is used if a crash happens when running in a Plasma session."
 )
 
+if ( KF5Crash_FOUND )
+    find_package( KF5CoreAddons 5.18 REQUIRED )
+endif()
+
 option( WITH_PYTHON "Enable Python modules support." ON )
 
 macro_optional_find_package( PythonLibs 3.3 )