Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 14 Lines | |||||
15 | 15 | | |||
16 | include(KDEInstallDirs) | 16 | include(KDEInstallDirs) | ||
17 | include(KDECMakeSettings) | 17 | include(KDECMakeSettings) | ||
18 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | 18 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | ||
19 | include(KDEClangFormat) | 19 | include(KDEClangFormat) | ||
20 | 20 | | |||
21 | include(FeatureSummary) | 21 | include(FeatureSummary) | ||
22 | 22 | | |||
23 | option(ENABLE_PIPEWIRE "Disable PipeWire support. PipeWire is needed for screen sharing and remote desktop" ON) | | |||
24 | if(ENABLE_PIPEWIRE) | | |||
25 | set(HAVE_PIPEWIRE_SUPPORT 1) | | |||
26 | else() | | |||
27 | message(STATUS "Disabling PipeWire support") | | |||
28 | set(HAVE_PIPEWIRE_SUPPORT 0) | | |||
29 | endif() | | |||
30 | add_definitions(-DHAVE_PIPEWIRE_SUPPORT=${HAVE_PIPEWIRE_SUPPORT}) | | |||
31 | | ||||
32 | if(HAVE_PIPEWIRE_SUPPORT) | | |||
33 | find_package(PipeWire) | | |||
34 | set_package_properties(PipeWire PROPERTIES | | |||
35 | TYPE REQUIRED | | |||
36 | PURPOSE "Required for screencast portal" | | |||
37 | ) | | |||
38 | | ||||
39 | find_package(GBM) | | |||
40 | set_package_properties(GBM PROPERTIES | | |||
41 | TYPE REQUIRED | | |||
42 | PURPOSE "Required for screencast portal" | | |||
43 | ) | | |||
44 | | ||||
45 | find_package(Epoxy) | | |||
46 | set_package_properties(Epoxy PROPERTIES DESCRIPTION "libepoxy" | | |||
47 | URL "https://github.com/anholt/libepoxy" | | |||
48 | TYPE REQUIRED | | |||
49 | PURPOSE "Required for screencast portal" | | |||
50 | ) | | |||
51 | endif() | | |||
52 | | ||||
53 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS | 23 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS | ||
54 | Core | 24 | Core | ||
55 | Concurrent | 25 | Concurrent | ||
56 | DBus | 26 | DBus | ||
57 | PrintSupport | 27 | PrintSupport | ||
58 | QuickWidgets | 28 | QuickWidgets | ||
59 | Widgets | 29 | Widgets | ||
60 | ) | 30 | ) | ||
Show All 28 Lines |