summaryrefslogtreecommitdiffstats
path: root/kdesktop/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-03-03 20:52:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-03-03 20:52:46 +0100
commite9785ee7aaad48b833c84b4b57a95d8ef83fb90f (patch)
treeb6894eb0f6959f6af1ed853bec3cea6d1ab72c36 /kdesktop/ConfigureChecks.cmake
parente39534e8510d8bcdd81f94f014b76778748da573 (diff)
downloadtdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.tar.gz
tdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.zip
Reapply commit 936d3cec inadvertently reverted in de7e5867
Diffstat (limited to 'kdesktop/ConfigureChecks.cmake')
-rw-r--r--kdesktop/ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/kdesktop/ConfigureChecks.cmake b/kdesktop/ConfigureChecks.cmake
index 87e2213ce..9e59185a4 100644
--- a/kdesktop/ConfigureChecks.cmake
+++ b/kdesktop/ConfigureChecks.cmake
@@ -14,3 +14,10 @@
if( WITH_PAM AND (NOT DEFINED KSCREENSAVER_PAM_SERVICE) )
set( KSCREENSAVER_PAM_SERVICE "kde" CACHE INTERNAL "" )
endif( )
+
+if( WITH_KDESKTOP_LOCK_BACKTRACE )
+ check_include_files( "bfd.h;demangle.h;libiberty.h" HAVE_BINUTILS_DEV )
+ if( NOT HAVE_BINUTILS_DEV )
+ tde_message_fatal( "binutils-dev are required, but not found on your system" )
+ endif( )
+endif( )