summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-03-03 20:52:07 +0100
committerSlávek Banko <[email protected]>2013-03-03 20:52:46 +0100
commite9785ee7aaad48b833c84b4b57a95d8ef83fb90f (patch)
treeb6894eb0f6959f6af1ed853bec3cea6d1ab72c36 /kdesktop/lock/CMakeLists.txt
parente39534e8510d8bcdd81f94f014b76778748da573 (diff)
downloadtdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.tar.gz
tdebase-e9785ee7aaad48b833c84b4b57a95d8ef83fb90f.zip
Reapply commit 936d3cec inadvertently reverted in de7e5867
Diffstat (limited to 'kdesktop/lock/CMakeLists.txt')
-rw-r--r--kdesktop/lock/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/kdesktop/lock/CMakeLists.txt b/kdesktop/lock/CMakeLists.txt
index 80c2b2cdb..db5e930bc 100644
--- a/kdesktop/lock/CMakeLists.txt
+++ b/kdesktop/lock/CMakeLists.txt
@@ -32,11 +32,16 @@ set( target kdesktop_lock )
set( ${target}_SRCS
lockprocess.cc lockdlg.cc infodlg.cc querydlg.cc sakdlg.cc
- securedlg.cc autologout.cc main.cc backtrace_symbols.c
+ securedlg.cc autologout.cc main.cc
)
+if( WITH_KDESKTOP_LOCK_BACKTRACE )
+ list( APPEND ${target}_SRCS backtrace_symbols.c )
+ set( BACKTRACE_LIBRARY bfd )
+endif( )
+
tde_add_executable( ${target} AUTOMOC
SOURCES ${${target}_SRCS}
- LINK kdesktopsettings-static dmctl-static tdeio-shared Xext bfd ${GL_LIBRARY} "${LINKER_IMMEDIATE_BINDING_FLAGS}"
+ LINK kdesktopsettings-static dmctl-static tdeio-shared Xext ${BACKTRACE_LIBRARY} ${GL_LIBRARY} "${LINKER_IMMEDIATE_BINDING_FLAGS}"
DESTINATION ${BIN_INSTALL_DIR}
)