diff options
author | Slávek Banko <[email protected]> | 2013-01-26 21:12:51 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-01-26 21:13:32 +0100 |
commit | 936d3cec490c13f2c5f7dd14f5e364fddaa6da71 (patch) | |
tree | b261cce9c75bc32d7e951cca42273541a9b96114 /kdesktop/ConfigureChecks.cmake | |
parent | 42dde50c7fad5059d63535a5342eef317827f279 (diff) | |
download | tdebase-936d3cec490c13f2c5f7dd14f5e364fddaa6da71.tar.gz tdebase-936d3cec490c13f2c5f7dd14f5e364fddaa6da71.zip |
Add CMake option for backtrace in kdesktop_lock exception handler
Diffstat (limited to 'kdesktop/ConfigureChecks.cmake')
-rw-r--r-- | kdesktop/ConfigureChecks.cmake | 7 |
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( ) |