kwin/clients/oxygen/CMakeLists.txt
Hugo Pereira Da Costa 8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00

33 lines
925 B
CMake

########### add version number into compilation defines
add_definitions ( -DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
add_subdirectory( config )
########### next target ###############
set(kwin_oxygen_SRCS
lib/helper.cpp
lib/tileset.cpp
nitrogen.cpp
nitrogenbutton.cpp
nitrogenclient.cpp
nitrogenconfiguration.cpp
nitrogenexception.cpp
nitrogenexceptionlist.cpp
nitrogenshadowconfiguration.cpp
nitrogensizegrip.cpp
x11util.cpp
)
kde4_add_plugin(kwin3_oxygen ${kwin_oxygen_SRCS})
target_link_libraries(
kwin3_oxygen
${KDE4_KDEUI_LIBS}
${X11_X11_LIB}
${X11_Xrender_LIB}
kdecorations
)
install(TARGETS kwin3_oxygen DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
install( FILES oxygenclient.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/ )