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} ${QT_QTGUI_LIBRARY})
16 set_target_properties(kdecorations PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
17 install(TARGETS kdecorations DESTINATION ${LIB_INSTALL_DIR} )
20 ########### install files ###############
27 DESTINATION ${INCLUDE_INSTALL_DIR})
30 set(kwin_EFFECTSLIB_SRCS
37 kde4_add_library(kwineffects SHARED ${kwin_EFFECTSLIB_SRCS})
38 target_link_libraries(kwineffects ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES})
39 set_target_properties(kwineffects PROPERTIES VERSION 1.0.0 SOVERSION 1 )
40 install(TARGETS kwineffects DESTINATION ${LIB_INSTALL_DIR})
43 target_link_libraries(kwineffects ${OPENGL_gl_LIBRARY})
44 # -ldl used by OpenGL code
45 find_library(DL_LIBRARY dl)
47 target_link_libraries(kwineffects ${DL_LIBRARY})
50 if (X11_Xrender_FOUND)
51 target_link_libraries(kwineffects ${X11_Xrender_LIB})
52 endif (X11_Xrender_FOUND)
54 target_link_libraries(kwineffects ${X11_Xrandr_LIB})
55 endif (X11_Xrandr_FOUND)
56 if (X11_Xcomposite_FOUND)
57 target_link_libraries(kwineffects ${X11_Xcomposite_LIB})
58 endif (X11_Xcomposite_FOUND)
59 if (X11_Xdamage_FOUND)
60 target_link_libraries(kwineffects ${X11_Xdamage_LIB})
61 endif (X11_Xdamage_FOUND)
63 target_link_libraries(kwineffects ${X11_Xfixes_LIB})
64 endif (X11_Xfixes_FOUND)
73 ${CMAKE_CURRENT_BINARY_DIR}/kwinconfig.h
74 DESTINATION ${INCLUDE_INSTALL_DIR})