Warning, /office/alkimia/plasma/applets/onlinequote/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # We add our source code here
0002 set(SOURCES plasma-onlinequote.cpp)
0003 
0004 set(UI configwidget.ui)
0005 
0006 ki18n_wrap_ui(SOURCES ${UI})
0007 
0008 # Now make sure all files get to the right place
0009 kde4_add_plugin(plasma_applet_onlinequote ${SOURCES})
0010 target_link_libraries(plasma_applet_onlinequote
0011     alkimia
0012 )
0013 if(BUILD_QT4)
0014     target_link_libraries(plasma_applet_onlinequote
0015         ${KDE4_PLASMA_LIBS}
0016         ${KDE4_KDEUI_LIBS}
0017     )
0018     set(PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/kde4")
0019     set(SERVICES_INSTALL_DIR "${SHARE_INSTALL_DIR}/kde4/services")
0020 else()
0021     target_link_libraries(plasma_applet_onlinequote
0022         KF${QT_MAJOR_VERSION}::Package
0023         KF${QT_MAJOR_VERSION}::Plasma
0024     )
0025     add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_onlinequote\")
0026 endif()
0027 
0028 install(TARGETS plasma_applet_onlinequote
0029         DESTINATION ${PLUGIN_INSTALL_DIR})
0030 
0031 install(FILES plasma-applet-onlinequote.desktop
0032         DESTINATION ${SERVICES_INSTALL_DIR})