3 include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
6 ########### next target ###############
8 set(kwin3_openlook_PART_SRCS OpenLook.cpp )
10 kde4_automoc(${kwin3_openlook_PART_SRCS})
12 kde4_add_plugin(kwin3_openlook ${kwin3_openlook_PART_SRCS})
14 kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_openlook )
16 target_link_libraries(kwin3_openlook ${KDE4_KDECORE_LIBS} kdecorations )
18 install_targets(${LIB_INSTALL_DIR}/kde4 kwin3_openlook )
21 ########### install files ###############
23 install_files( ${DATA_INSTALL_DIR}/kwin/ FILES openlook.desktop )
29 #original Makefile.am contents follow:
31 #INCLUDES = $(all_includes)
33 #kde_module_LTLIBRARIES = kwin3_openlook.la
35 #kwin3_openlook_la_SOURCES = OpenLook.cpp
36 #kwin3_openlook_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
37 #kwin3_openlook_la_LIBADD = -lkdecorations
39 #noinst_HEADERS = OpenLook.h
42 #linkdir = $(kde_datadir)/kwin/
43 #link_DATA = openlook.desktop
45 #EXTRA_DIST = $(link_DATA)