Fix use new cmake variable
[kdeartwork.git] / styles / phase / config / CMakeLists.txt
blobdce8babe0dbae4c0f46e7b64b44e3ace551cf776
1 kde4_header()
3 include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )
6 ########### next target ###############
8 set(kstyle_phase_config_PART_SRCS phasestyleconfig.cpp )
10 kde4_automoc(${kstyle_phase_config_PART_SRCS})
12 kde4_add_ui_files(kstyle_phase_config_PART_SRCS styledialog.ui )
14 kde4_add_plugin(kstyle_phase_config ${kstyle_phase_config_PART_SRCS})
16 kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kstyle_phase_config )
18 target_link_libraries(kstyle_phase_config  ${KDE4_KDECORE_LIBS} kdeui )
20 install_targets(${LIB_INSTALL_DIR}/kde4 kstyle_phase_config )
23 ########### install files ###############
26 kde4_footer()
30 #original Makefile.am contents follow:
32 #INCLUDES = $(all_includes)
34 #noinst_HEADERS = phasestyleconfig.h
36 #kde_module_LTLIBRARIES = kstyle_phase_config.la
37 #kstyle_phase_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
38 #kstyle_phase_config_la_LIBADD  = $(LIB_KDEUI)
39 #kstyle_phase_config_la_SOURCES = phasestyleconfig.cpp styledialog.ui
40 #kstyle_phase_config_la_METASOURCES = AUTO
42 #messages: rc.cpp
43 #       $(XGETTEXT) *.cpp *.h -o $(podir)/kstyle_phase_config.pot