1 ########### next target ###############
3 set(kdecorations_LIB_SRCS
6 kdecoration_plugins_p.cpp
9 kcommondecoration_p.cpp )
12 kde4_add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
14 target_link_libraries(kdecorations ${KDE4_KDEUI_LIBS} kephal)
15 target_link_libraries(kdecorations LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS})
17 set_target_properties(kdecorations PROPERTIES
18 VERSION ${GENERIC_LIB_VERSION}
19 SOVERSION ${GENERIC_LIB_SOVERSION}
21 install(TARGETS kdecorations EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
23 ########### install files ###############
30 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
33 set(kwin_EFFECTSLIB_SRCS
42 kde4_add_library(kwineffects SHARED ${kwin_EFFECTSLIB_SRCS})
43 target_link_libraries(kwineffects ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES} kephal)
44 set_target_properties(kwineffects PROPERTIES VERSION 1.0.0 SOVERSION 1 )
46 install(TARGETS kwineffects EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
49 target_link_libraries(kwineffects ${OPENGL_gl_LIBRARY})
50 target_link_libraries(kwineffects LINK_INTERFACE_LIBRARIES ${OPENGL_gl_LIBRARY})
51 # -ldl used by OpenGL code
52 find_library(DL_LIBRARY dl)
54 target_link_libraries(kwineffects ${DL_LIBRARY})
57 if (X11_Xrender_FOUND)
58 target_link_libraries(kwineffects ${X11_Xrender_LIB})
59 endif (X11_Xrender_FOUND)
61 target_link_libraries(kwineffects ${X11_Xrandr_LIB})
62 endif (X11_Xrandr_FOUND)
63 if (X11_Xcomposite_FOUND)
64 target_link_libraries(kwineffects ${X11_Xcomposite_LIB})
65 endif (X11_Xcomposite_FOUND)
66 if (X11_Xdamage_FOUND)
67 target_link_libraries(kwineffects ${X11_Xdamage_LIB})
68 endif (X11_Xdamage_FOUND)
70 target_link_libraries(kwineffects ${X11_Xfixes_LIB})
71 endif (X11_Xfixes_FOUND)
81 ${CMAKE_CURRENT_BINARY_DIR}/kwinconfig.h
82 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)