kwin/lib/CMakeLists.txt
Laurent Montel b1ce3b0b9e Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdebase/workspace/; revision=598290
2006-10-23 06:53:27 +00:00

25 lines
709 B
CMake

########### next target ###############
set(kdecorations_LIB_SRCS
kdecoration.cpp
kdecoration_p.cpp
kdecoration_plugins_p.cpp
kdecorationfactory.cpp
kcommondecoration.cpp )
kde4_automoc(${kdecorations_LIB_SRCS})
kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
target_link_libraries(kdecorations ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY})
set_target_properties(kdecorations PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kdecorations DESTINATION ${LIB_INSTALL_DIR} )
########### install files ###############
install( FILES kdecoration.h kdecoration_p.h kdecoration_plugins_p.h kdecorationfactory.h kcommondecoration.h DESTINATION ${INCLUDE_INSTALL_DIR})