add more spacing
[personal-kdebase.git] / apps / kinfocenter / opengl / CMakeLists.txt
blob172f405744434954b10d3dcafa9de375da08611e
2 include_directories( ${OPENGL_INCLUDE_DIR} ${OPENGL_GLU_INCLUDE_DIR} )
4 ########### next target ###############
6 set(KCM_OPENGL_PART_SRCS opengl.cpp )
7 set(KCM_OPENGL_PART_UIS opengl.ui )
9 qt4_wrap_ui(KCM_OPENGL_PART_UIS_H ${KCM_OPENGL_PART_UIS})
11 kde4_add_plugin(kcm_opengl ${KCM_OPENGL_PART_SRCS} ${KCM_OPENGL_PART_UIS_H})
13 target_link_libraries(kcm_opengl ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} ${X11_X11_LIB})
15 find_library(DL_LIBRARY dl)
16 if (DL_LIBRARY)
17   target_link_libraries(kcm_opengl ${DL_LIBRARY})
18 endif(DL_LIBRARY)
20 target_link_libraries(kcm_opengl ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY})
22 install(TARGETS kcm_opengl  DESTINATION ${PLUGIN_INSTALL_DIR})
24 ########### install files ###############
26 install(FILES opengl.desktop  DESTINATION  ${SERVICES_INSTALL_DIR})