Changeset View
Changeset View
Standalone View
Standalone View
sensors/CMakeLists.txt
Show All 37 Lines | 35 | target_include_directories(Sensors | |||
---|---|---|---|---|---|
38 | "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/ksysguard/>" | 38 | "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/ksysguard/>" | ||
39 | ) | 39 | ) | ||
40 | 40 | | |||
41 | generate_export_header(Sensors) | 41 | generate_export_header(Sensors) | ||
42 | 42 | | |||
43 | target_link_libraries(Sensors | 43 | target_link_libraries(Sensors | ||
44 | PUBLIC | 44 | PUBLIC | ||
45 | Qt5::Qml | 45 | Qt5::Qml | ||
46 | Qt5::Quick | ||||
46 | KSysGuard::Formatter | 47 | KSysGuard::Formatter | ||
47 | PRIVATE | 48 | PRIVATE | ||
48 | Qt5::Core | 49 | Qt5::Core | ||
49 | Qt5::DBus | 50 | Qt5::DBus | ||
50 | KF5::I18n | 51 | KF5::I18n | ||
52 | KF5::ConfigCore | ||||
ahiemstra: This is no longer needed. | |||||
53 | KF5::ConfigGui | ||||
54 | KF5::Declarative | ||||
51 | ) | 55 | ) | ||
52 | 56 | | |||
53 | set_target_properties(Sensors PROPERTIES | 57 | set_target_properties(Sensors PROPERTIES | ||
54 | LIBRARY_OUTPUT_NAME KSysGuardSensors | 58 | LIBRARY_OUTPUT_NAME KSysGuardSensors | ||
55 | VERSION ${KSYSGUARD_VERSION_STRING} | 59 | VERSION ${KSYSGUARD_VERSION_STRING} | ||
56 | SOVERSION ${KSYSGUARD_SENSORS_SOVERSION} | 60 | SOVERSION ${KSYSGUARD_SENSORS_SOVERSION} | ||
57 | ) | 61 | ) | ||
58 | 62 | | |||
59 | install(TARGETS Sensors EXPORT libksysguardLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 63 | install(TARGETS Sensors EXPORT libksysguardLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
60 | install(FILES | 64 | install(FILES | ||
61 | ${sensors_LIB_HEADERS} | 65 | ${sensors_LIB_HEADERS} | ||
62 | ${CMAKE_CURRENT_BINARY_DIR}/sensors_export.h | 66 | ${CMAKE_CURRENT_BINARY_DIR}/sensors_export.h | ||
63 | DESTINATION ${KDE_INSTALL_INCLUDEDIR}/ksysguard/sensors | 67 | DESTINATION ${KDE_INSTALL_INCLUDEDIR}/ksysguard/sensors | ||
64 | COMPONENT Devel | 68 | COMPONENT Devel | ||
65 | ) | 69 | ) |
This is no longer needed.