From eae7e0d365233b6c10662808e53deeed030077ae Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 25 Jul 2013 15:11:30 -0500 Subject: [PATCH] Add build conditional for tdekbdledsync --- CMakeLists.txt | 4 ++-- tdekbdledsync/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04e83c22c..932f0d313 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -180,6 +180,7 @@ option( BUILD_NSPLUGINS "Build nsplugins" ${BUILD_ALL} ) option( BUILD_KSYSGUARD "Build ksysguard" ${BUILD_ALL} ) option( BUILD_KXKB "Build kxkb" ${BUILD_ALL} ) option( BUILD_TSAK "Build tsak" ${BUILD_ALL} ) +option( BUILD_TDEKBDLEDSYNC "Build tdekbdledsync" ${BUILD_ALL} ) option( BUILD_KROOTBACKING "Build krootbacking" ${BUILD_ALL} ) option( BUILD_TQT3INTEGRATION "Build tqt3integration" ${BUILD_ALL} ) option( BUILD_CRASHTEST "Build crash test program" ${BUILD_ALL} ) @@ -258,11 +259,10 @@ tde_conditional_add_subdirectory( BUILD_NSPLUGINS nsplugins ) tde_conditional_add_subdirectory( BUILD_KSYSGUARD ksysguard ) tde_conditional_add_subdirectory( BUILD_KXKB kxkb ) tde_conditional_add_subdirectory( BUILD_TSAK tsak ) +tde_conditional_add_subdirectory( BUILD_TDEKBDLEDSYNC tdekbdledsync ) tde_conditional_add_subdirectory( BUILD_KROOTBACKING krootbacking ) tde_conditional_add_subdirectory( BUILD_TQT3INTEGRATION tqt3integration ) -add_subdirectory( tdekbdledsync ) - ##### install starttde & related stuff ########## if( BUILD_STARTTDE ) diff --git a/tdekbdledsync/main.cpp b/tdekbdledsync/main.cpp index 0096038a0..e48af2f53 100644 --- a/tdekbdledsync/main.cpp +++ b/tdekbdledsync/main.cpp @@ -262,7 +262,7 @@ int main() { struct vt_stat vtstat; int vt_fd; int x11_vt_num = -1; - XEvent xev; +// XEvent xev; XkbStateRec state; bool num_lock_set = false; @@ -441,4 +441,4 @@ int main() { } return 0; -} \ No newline at end of file +}