CMakeLists.txt 537 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
set(messageviewer_longheaderstyleplugin_SRCS
   longheaderstyleplugin.cpp
   longheaderstyleinterface.cpp
)

add_library(messageviewer_longheaderstyleplugin MODULE ${messageviewer_longheaderstyleplugin_SRCS})

target_link_libraries(messageviewer_longheaderstyleplugin
  KF5::MessageViewer
  KF5::GrantleeTheme
  KF5::XmlGui
)

install(TARGETS messageviewer_longheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
kcoreaddons_desktop_to_json(messageviewer_longheaderstyleplugin messageviewer_longheaderstyleplugin.desktop)