From 2a5b22f584eba18171bcbb509f3f3ca85cfa853e Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 16 Mar 2016 12:18:35 +0100 Subject: [PATCH] If building with KCrash, require KCoreAddons. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0bcfcea9..198ed2a2a 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 )