Changeset View
Changeset View
Standalone View
Standalone View
core/CMakeLists.txt
Show All 9 Lines | |||||
10 | add_subdirectory(backends/loopback) | 10 | add_subdirectory(backends/loopback) | ||
11 | 11 | | |||
12 | option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF) | 12 | option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF) | ||
13 | if(BLUETOOTH_ENABLED) | 13 | if(BLUETOOTH_ENABLED) | ||
14 | find_package(Qt5 REQUIRED COMPONENTS Bluetooth) | 14 | find_package(Qt5 REQUIRED COMPONENTS Bluetooth) | ||
15 | add_subdirectory(backends/bluetooth) | 15 | add_subdirectory(backends/bluetooth) | ||
16 | endif() | 16 | endif() | ||
17 | 17 | | |||
18 | if (SAILFISHOS) | ||||
19 | find_package(KF5Config 5.9 REQUIRED) | ||||
20 | pkg_check_modules(NNQT5 REQUIRED nemonotifications-qt5) | ||||
21 | set(NOTIFICATION_LIB ${NNQT5_LIBRARIES}) | ||||
22 | else() | ||||
18 | find_package(KF5Notifications 5.9 REQUIRED) | 23 | find_package(KF5Notifications 5.9 REQUIRED) | ||
24 | set(NOTIFICATION_LIB ${NNQT5_LIBRARIES}) | ||||
apol: Why? | |||||
typo, should be KF5::Notifications .... this is to set the appropriate notification library depending on the platform, and then it only needs a single linker line piggz: typo, should be KF5::Notifications .... this is to set the appropriate notification library… | |||||
25 | endif() | ||||
19 | 26 | | |||
20 | set(kdeconnectcore_SRCS | 27 | set(kdeconnectcore_SRCS | ||
21 | ${backends_kdeconnect_SRCS} | 28 | ${backends_kdeconnect_SRCS} | ||
22 | 29 | | |||
23 | backends/linkprovider.cpp | 30 | backends/linkprovider.cpp | ||
24 | backends/devicelink.cpp | 31 | backends/devicelink.cpp | ||
25 | backends/pairinghandler.cpp | 32 | backends/pairinghandler.cpp | ||
26 | backends/devicelinereader.cpp | 33 | backends/devicelinereader.cpp | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
Why?