Patch for kdebase to build khotkeys when srcdir != builddir

Tim Beaulen tbscope at gmail.com
Tue Mar 21 17:51:07 GMT 2006


Not sure if it's correct though.


kde4dev at localhost ~/kde/src/kdebase/khotkeys/kcontrol $ svn diff
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 521139)
+++ CMakeLists.txt      (working copy)
@@ -30,9 +30,9 @@
        ${CMAKE_SOURCE_DIR}/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui
        ${CMAKE_SOURCE_DIR}/khotkeys/kcontrol/ui/general_settings_tab_ui.ui )

-qt4_generate_moc(actions_listview.h actions_listview.moc.cpp)
+qt4_generate_moc(${CMAKE_SOURCE_DIR}/khotkeys/kcontrol/actions_listview.h
actions_listview.moc.cpp)

-set(kcm_khotkeys_PART_SRCS ${libui_SRCS} ${libshared_SRCS}
actions_listview.moc.cpp
+set(kcm_khotkeys_PART_SRCS ${libui_SRCS} ${libshared_SRCS}
${CMAKE_BINARY_DIR}/khotkeys/kcontrol/actions_listview.moc.cpp
    menuedit.cpp
    window_trigger_widget.cpp
    tab_widget.cpp




More information about the kde-core-devel mailing list