diff --git a/kcmkwin/kwindecoration/CMakeLists.txt b/kcmkwin/kwindecoration/CMakeLists.txt index 2c3a821907..a00d825895 100644 --- a/kcmkwin/kwindecoration/CMakeLists.txt +++ b/kcmkwin/kwindecoration/CMakeLists.txt @@ -1,6 +1,6 @@ kde4_header() -include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) +include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### @@ -15,7 +15,7 @@ kde4_add_plugin(kcm_kwindecoration ${kcm_kwindecoration_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwindecoration ) -target_link_libraries(kcm_kwindecoration ${QT_AND_KDECORE_LIBS} kdeui kdecorations ) +target_link_libraries(kcm_kwindecoration ${QT_AND_KDECORE_LIBS} kdeui kdecorations DCOP ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES}) install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwindecoration ) diff --git a/kcmkwin/kwinoptions/CMakeLists.txt b/kcmkwin/kwinoptions/CMakeLists.txt index 4815623fc9..a78f5cf439 100644 --- a/kcmkwin/kwinoptions/CMakeLists.txt +++ b/kcmkwin/kwinoptions/CMakeLists.txt @@ -13,7 +13,7 @@ kde4_add_plugin(kcm_kwinoptions ${kcm_kwinoptions_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwinoptions ) -target_link_libraries(kcm_kwinoptions ${QT_AND_KDECORE_LIBS} kdeui ) +target_link_libraries(kcm_kwinoptions ${QT_AND_KDECORE_LIBS} kdeui ${QT_QTGUI_LIBRARY} DCOP ${QT_QT3SUPPORT_LIBRARY}) install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwinoptions ) diff --git a/kcmkwin/kwinrules/CMakeLists.txt b/kcmkwin/kwinrules/CMakeLists.txt index b0742e5ee8..7bfae955d5 100644 --- a/kcmkwin/kwinrules/CMakeLists.txt +++ b/kcmkwin/kwinrules/CMakeLists.txt @@ -1,6 +1,6 @@ kde4_header() -include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) +include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/workspace/kwin/lib) ########### next target ###############