CMakeLists.txt 575 B

12345678910111213141516171819202122232425
  1. project(plasma-qstardictengine)
  2. INCLUDE_DIRECTORIES(
  3. ${CMAKE_CURRENT_SOURCE_DIR}/../../plugins)
  4. set(qstardict_engine_SRCS
  5. dictengine.cpp
  6. )
  7. kde4_add_plugin(plasma_engine_qstardict ${qstardict_engine_SRCS})
  8. target_link_libraries(plasma_engine_qstardict
  9. ${KDE4_KDECORE_LIBS}
  10. ${KDE4_PLASMA_LIBS}
  11. )
  12. set(QSTARDICT_PLUGINS_DIR ${LIB_INSTALL_DIR}/qstardict/plugins)
  13. configure_file(config.h.cmake config.h)
  14. install(TARGETS plasma_engine_qstardict DESTINATION ${PLUGIN_INSTALL_DIR})
  15. install(FILES plasma-dataengine-qstardict.desktop DESTINATION ${SERVICES_INSTALL_DIR} )