Changeset View
Changeset View
Standalone View
Standalone View
core/CMakeLists.txt
1 | project(KDEConnectCore) | 1 | project(KDEConnectCore) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-core\") | 3 | add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-core\") | ||
4 | 4 | | |||
5 | include_directories( | 5 | include_directories( | ||
6 | ${CMAKE_CURRENT_BINARY_DIR} | 6 | ${CMAKE_CURRENT_BINARY_DIR} | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | add_subdirectory(backends/lan) | 9 | add_subdirectory(backends/lan) | ||
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 ${QT_MIN_VERSION} REQUIRED COMPONENTS Bluetooth) | ||
15 | add_subdirectory(backends/bluetooth) | 15 | add_subdirectory(backends/bluetooth) | ||
16 | endif() | 16 | endif() | ||
17 | 17 | | |||
18 | find_package(KF5Notifications 5.9 REQUIRED) | | |||
19 | | ||||
20 | set(kdeconnectcore_SRCS | 18 | set(kdeconnectcore_SRCS | ||
21 | ${backends_kdeconnect_SRCS} | 19 | ${backends_kdeconnect_SRCS} | ||
22 | 20 | | |||
23 | backends/linkprovider.cpp | 21 | backends/linkprovider.cpp | ||
24 | backends/devicelink.cpp | 22 | backends/devicelink.cpp | ||
25 | backends/pairinghandler.cpp | 23 | backends/pairinghandler.cpp | ||
26 | backends/devicelinereader.cpp | 24 | backends/devicelinereader.cpp | ||
27 | 25 | | |||
Show All 40 Lines |