Merging from old trunk:

r565833 | winterz | 2006-07-24 18:02:07 +0200 (Mon, 24 Jul 2006) | 2 lines

use library variables, where possible.


svn path=/trunk/KDE/kdebase/workspace/; revision=659261
This commit is contained in:
Luboš Luňák 2007-04-29 20:55:58 +00:00
parent 25adb0541d
commit 73ce957bad
5 changed files with 15 additions and 25 deletions

View file

@ -6,17 +6,15 @@ 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 ${kwin3_b2_PART_SRCS})
kde4_add_plugin(kwin3_b2 ${kwin3_b2_PART_SRCS})
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_b2 )
target_link_libraries(kwin3_b2 ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QT3SUPPORT_LIBRARY} ${X11_LIBRARIES} ${QT_QTGUI_LIBRARY})
target_link_libraries(kwin3_b2 ${KDE4_KDEUI_LIBS} kdecorations kdefx ${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 ###############

View file

@ -5,15 +5,13 @@ 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 ${kwin3_default_PART_SRCS})
kde4_add_plugin(kwin3_default ${kwin3_default_PART_SRCS})
target_link_libraries(kwin3_default ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QTGUI_LIBRARY})
target_link_libraries(kwin3_default ${KDE4_KDECORE_LIBS} kdefx kdecorations ${QT_QTGUI_LIBRARY})
install(TARGETS kwin3_default DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kwin3_default DESTINATION ${PLUGIN_INSTALL_DIR})

View file

@ -4,17 +4,15 @@ 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 ${kwin3_laptop_PART_SRCS})
kde4_add_plugin(kwin3_laptop ${kwin3_laptop_PART_SRCS})
target_link_libraries(kwin3_laptop ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations)
target_link_libraries(kwin3_laptop ${KDE4_KDECORE_LIBS} kdecorations kdefx )
install(TARGETS kwin3_laptop DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kwin3_laptop DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############

View file

@ -6,17 +6,15 @@ 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 ${kwin3_modernsys_PART_SRCS})
kde4_add_plugin(kwin3_modernsys ${kwin3_modernsys_PART_SRCS})
target_link_libraries(kwin3_modernsys ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations ${QT_QTGUI_LIBRARY})
target_link_libraries(kwin3_modernsys ${KDE4_KDECORE_LIBS} kdecorations kdefx ${QT_QTGUI_LIBRARY})
install(TARGETS kwin3_modernsys DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kwin3_modernsys DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############

View file

@ -5,17 +5,15 @@ 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 ${kwin3_redmond_PART_SRCS})
kde4_add_plugin(kwin3_redmond ${kwin3_redmond_PART_SRCS})
target_link_libraries(kwin3_redmond ${KDE4_KDECORE_LIBS} ${KDE4_KDEFX_LIBS} kdecorations)
target_link_libraries(kwin3_redmond ${KDE4_KDECORE_LIBS} kdefx kdecorations )
install(TARGETS kwin3_redmond DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kwin3_redmond DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############