use library variables, where possible.

svn path=/trunk/KDE/kdebase/workspace/; revision=565833
This commit is contained in:
Allen Winter 2006-07-24 16:02:07 +00:00
parent 581feff4ec
commit 6e204b3cf7
5 changed files with 20 additions and 20 deletions

View file

@ -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 ###############

View file

@ -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 ###############

View file

@ -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 ###############

View file

@ -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 ###############

View file

@ -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 ###############