Fix use new cmake variable
[kdeartwork.git] / kwin-styles / openlook / CMakeLists.txt
blob0d9f22d68119ed4fb9d36ab873cf400e305eec1e
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_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 )
25 kde4_footer()
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
40 #METASOURCES                 = AUTO
42 #linkdir                     = $(kde_datadir)/kwin/
43 #link_DATA                   = openlook.desktop
45 #EXTRA_DIST                  = $(link_DATA)