b1ce3b0b9e
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
29 lines
662 B
CMake
29 lines
662 B
CMake
|
|
add_subdirectory( config )
|
|
|
|
include_directories( ${CMAKE_SOURCE_DIR}/workspace/kwin/lib )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kwin3_plastik_PART_SRCS
|
|
plastik.cpp
|
|
plastikclient.cpp
|
|
plastikbutton.cpp
|
|
misc.cpp )
|
|
|
|
kde4_automoc(${kwin3_plastik_PART_SRCS})
|
|
|
|
kde4_add_plugin(kwin3_plastik ${kwin3_plastik_PART_SRCS})
|
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kwin3_plastik )
|
|
|
|
target_link_libraries(kwin3_plastik kdecorations ${KDE4_KDEFX_LIBS})
|
|
|
|
install(TARGETS kwin3_plastik DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES plastik.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/ )
|
|
|