Changeset View
Changeset View
Standalone View
Standalone View
discover/CMakeLists.txt
Show All 10 Lines | 6 | set(plasma_discover_SRCS | |||
---|---|---|---|---|---|
11 | SystemFonts.cpp | 11 | SystemFonts.cpp | ||
12 | IconColors.cpp | 12 | IconColors.cpp | ||
13 | ) | 13 | ) | ||
14 | 14 | | |||
15 | qt5_add_resources(plasma_discover_SRCS resources.qrc) | 15 | qt5_add_resources(plasma_discover_SRCS resources.qrc) | ||
16 | 16 | | |||
17 | add_executable(plasma-discover ${plasma_discover_SRCS}) | 17 | add_executable(plasma-discover ${plasma_discover_SRCS}) | ||
18 | add_executable(Plasma::Discover ALIAS plasma-discover) | 18 | add_executable(Plasma::Discover ALIAS plasma-discover) | ||
19 | set_target_properties(plasma-discover PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/plasma-discover) | ||||
19 | 20 | | |||
20 | target_link_libraries(plasma-discover LINK_PUBLIC | 21 | target_link_libraries(plasma-discover LINK_PUBLIC | ||
21 | KF5::DBusAddons | 22 | KF5::DBusAddons | ||
22 | KF5::I18n | 23 | KF5::I18n | ||
23 | KF5::XmlGui | 24 | KF5::XmlGui | ||
24 | KF5::Declarative | 25 | KF5::Declarative | ||
25 | Qt5::Quick | 26 | Qt5::Quick | ||
26 | Discover::Common | 27 | Discover::Common | ||
27 | ) | 28 | ) | ||
28 | 29 | | |||
29 | install(TARGETS plasma-discover ${INSTALL_TARGETS_DEFAULT_ARGS} ) | 30 | install(TARGETS plasma-discover ${INSTALL_TARGETS_DEFAULT_ARGS} ) | ||
30 | 31 | | |||
31 | install(PROGRAMS org.kde.discover.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) | 32 | install(PROGRAMS org.kde.discover.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) | ||
32 | install(FILES featured.json DESTINATION ${DATA_INSTALL_DIR}/plasmadiscover) | 33 | install(FILES featured.json DESTINATION ${DATA_INSTALL_DIR}/plasmadiscover) | ||
33 | install(FILES plasmadiscoverui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/plasmadiscover) | 34 | install(FILES plasmadiscoverui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/plasmadiscover) |