Fix use new cmake variable
[kdeartwork.git] / kwin-styles / system / CMakeLists.txt
blob1281356b8279794791d2736d10725777c2bc8a5a
1 kde4_header()
3 include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )
6 ########### next target ###############
8 set(kwin3_system_PART_SRCS systemclient.cpp )
10 kde4_automoc(${kwin3_system_PART_SRCS})
12 kde4_add_plugin(kwin3_system ${kwin3_system_PART_SRCS})
14 kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_system )
16 target_link_libraries(kwin3_system  ${KDE4_KDECORE_LIBS} kdeui kdecorations )
18 install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_system )
21 ########### install files ###############
23 install_files( ${DATA_INSTALL_DIR}/kwin/ FILES system.desktop )
25 kde4_footer()
29 #original Makefile.am contents follow:
32 #INCLUDES = $(all_includes)
34 #kde_module_LTLIBRARIES = kwin3_system.la
36 #kwin3_system_la_SOURCES = systemclient.cpp
37 #kwin3_system_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
38 ##kwin_system_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
39 #kwin3_system_la_LIBADD = $(LIB_KDEUI) -lkdecorations
41 #METASOURCES = AUTO
42 #noinst_HEADERS = systemclient.h
44 #lnkdir = $(kde_datadir)/kwin/
45 #lnk_DATA = system.desktop
47 #EXTRA_DIST = $(lnk_DATA)
49 ####KMAKE-start (don't edit or delete this block)
51 ####KMAKE-end