Changeset View
Changeset View
Standalone View
Standalone View
core/CMakeLists.txt
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | PUBLIC | |||
---|---|---|---|---|---|
42 | Qt5::Network | 42 | Qt5::Network | ||
43 | KF5::CoreAddons | 43 | KF5::CoreAddons | ||
44 | qca-qt5 | 44 | qca-qt5 | ||
45 | PRIVATE | 45 | PRIVATE | ||
46 | Qt5::DBus | 46 | Qt5::DBus | ||
47 | Qt5::Gui | 47 | Qt5::Gui | ||
48 | KF5::I18n | 48 | KF5::I18n | ||
49 | KF5::ConfigCore | 49 | KF5::ConfigCore | ||
50 | KF5::DNSSD | ||||
50 | ) | 51 | ) | ||
51 | 52 | | |||
52 | if (BLUETOOTH_ENABLED) | 53 | if (BLUETOOTH_ENABLED) | ||
53 | target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_BLUETOOTH) | 54 | target_compile_definitions(kdeconnectcore PRIVATE -DKDECONNECT_BLUETOOTH) | ||
54 | target_link_libraries(kdeconnectcore PRIVATE Qt5::Bluetooth) | 55 | target_link_libraries(kdeconnectcore PRIVATE Qt5::Bluetooth) | ||
55 | endif() | 56 | endif() | ||
56 | 57 | | |||
57 | set_target_properties(kdeconnectcore PROPERTIES | 58 | set_target_properties(kdeconnectcore PROPERTIES | ||
58 | VERSION ${KDECONNECT_VERSION} | 59 | VERSION ${KDECONNECT_VERSION} | ||
59 | SOVERSION ${KDECONNECT_VERSION_MAJOR} | 60 | SOVERSION ${KDECONNECT_VERSION_MAJOR} | ||
60 | ) | 61 | ) | ||
61 | 62 | | |||
62 | target_include_directories(kdeconnectcore PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) | 63 | target_include_directories(kdeconnectcore PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) | ||
63 | generate_export_header(kdeconnectcore EXPORT_FILE_NAME kdeconnectcore_export.h BASE_NAME KDEConnectCore) | 64 | generate_export_header(kdeconnectcore EXPORT_FILE_NAME kdeconnectcore_export.h BASE_NAME KDEConnectCore) | ||
64 | 65 | | |||
65 | install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) | 66 | install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) |