From 6e204b3cf74a7f65eba43c0c8dfba407bde3701c Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 24 Jul 2006 16:02:07 +0000 Subject: [PATCH] use library variables, where possible. svn path=/trunk/KDE/kdebase/workspace/; revision=565833 --- clients/b2/CMakeLists.txt | 8 ++++---- clients/default/CMakeLists.txt | 8 ++++---- clients/laptop/CMakeLists.txt | 8 ++++---- clients/modernsystem/CMakeLists.txt | 8 ++++---- clients/redmond/CMakeLists.txt | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/clients/b2/CMakeLists.txt b/clients/b2/CMakeLists.txt index 475c02ab17..6215c28305 100644 --- a/clients/b2/CMakeLists.txt +++ b/clients/b2/CMakeLists.txt @@ -6,17 +6,17 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### -set(kwin3_b2_PART_SRCS b2client.cpp ) +set(kwin3_b2_PART_SRCS b2client.cpp) kde4_automoc(${kwin3_b2_PART_SRCS}) kde4_add_plugin(kwin3_b2 ${kwin3_b2_PART_SRCS}) -kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_b2 ) +kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kwin3_b2) -target_link_libraries(kwin3_b2 ${KDE4_KDECORE_LIBS} kdecorations kdefx ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY}) +target_link_libraries(kwin3_b2 ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY}) -install(TARGETS kwin3_b2 DESTINATION ${PLUGIN_INSTALL_DIR} ) +install(TARGETS kwin3_b2 DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ############### diff --git a/clients/default/CMakeLists.txt b/clients/default/CMakeLists.txt index 1a4a47d610..44133975d3 100644 --- a/clients/default/CMakeLists.txt +++ b/clients/default/CMakeLists.txt @@ -5,17 +5,17 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### -set(kwin3_default_PART_SRCS kdedefault.cpp ) +set(kwin3_default_PART_SRCS kdedefault.cpp) kde4_automoc(${kwin3_default_PART_SRCS}) kde4_add_plugin(kwin3_default ${kwin3_default_PART_SRCS}) -kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_default ) +kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kwin3_default) -target_link_libraries(kwin3_default ${KDE4_KDECORE_LIBS} kdefx kdecorations ${QT_QTGUI_LIBRARY}) +target_link_libraries(kwin3_default ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QTGUI_LIBRARY}) -install(TARGETS kwin3_default DESTINATION ${PLUGIN_INSTALL_DIR} ) +install(TARGETS kwin3_default DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ############### diff --git a/clients/laptop/CMakeLists.txt b/clients/laptop/CMakeLists.txt index 2c437fed8a..73b0967591 100644 --- a/clients/laptop/CMakeLists.txt +++ b/clients/laptop/CMakeLists.txt @@ -4,17 +4,17 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### -set(kwin3_laptop_PART_SRCS laptopclient.cpp ) +set(kwin3_laptop_PART_SRCS laptopclient.cpp) kde4_automoc(${kwin3_laptop_PART_SRCS}) kde4_add_plugin(kwin3_laptop ${kwin3_laptop_PART_SRCS}) -kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_laptop ) +kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kwin3_laptop) -target_link_libraries(kwin3_laptop ${KDE4_KDECORE_LIBS} kdecorations kdefx ) +target_link_libraries(kwin3_laptop ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations) -install(TARGETS kwin3_laptop DESTINATION ${PLUGIN_INSTALL_DIR} ) +install(TARGETS kwin3_laptop DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ############### diff --git a/clients/modernsystem/CMakeLists.txt b/clients/modernsystem/CMakeLists.txt index 945120cd45..c76816d3f0 100644 --- a/clients/modernsystem/CMakeLists.txt +++ b/clients/modernsystem/CMakeLists.txt @@ -6,17 +6,17 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### -set(kwin3_modernsys_PART_SRCS modernsys.cpp ) +set(kwin3_modernsys_PART_SRCS modernsys.cpp) kde4_automoc(${kwin3_modernsys_PART_SRCS}) kde4_add_plugin(kwin3_modernsys ${kwin3_modernsys_PART_SRCS}) -kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_modernsys ) +kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kwin3_modernsys) -target_link_libraries(kwin3_modernsys ${KDE4_KDECORE_LIBS} kdecorations kdefx ${QT_QTGUI_LIBRARY}) +target_link_libraries(kwin3_modernsys ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QTGUI_LIBRARY}) -install(TARGETS kwin3_modernsys DESTINATION ${PLUGIN_INSTALL_DIR} ) +install(TARGETS kwin3_modernsys DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ############### diff --git a/clients/redmond/CMakeLists.txt b/clients/redmond/CMakeLists.txt index 86bb0e180e..38efbde0fc 100644 --- a/clients/redmond/CMakeLists.txt +++ b/clients/redmond/CMakeLists.txt @@ -5,17 +5,17 @@ include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib ) ########### next target ############### -set(kwin3_redmond_PART_SRCS redmond.cpp ) +set(kwin3_redmond_PART_SRCS redmond.cpp) kde4_automoc(${kwin3_redmond_PART_SRCS}) kde4_add_plugin(kwin3_redmond ${kwin3_redmond_PART_SRCS}) -kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_redmond ) +kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kwin3_redmond) -target_link_libraries(kwin3_redmond ${KDE4_KDECORE_LIBS} kdefx kdecorations ) +target_link_libraries(kwin3_redmond ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations) -install(TARGETS kwin3_redmond DESTINATION ${PLUGIN_INSTALL_DIR} ) +install(TARGETS kwin3_redmond DESTINATION ${PLUGIN_INSTALL_DIR}) ########### install files ###############