Debian Codegraph @

project/bundles/3rdparty/ext_kf6/breeze-common-rules.patch

raw
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 7d509d10..926b1a6d 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -12,7 +12,7 @@ include(GenerateExportHeader)
6 include(WriteBasicConfigVersionFile)
7 include(FeatureSummary)
8
9 -find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
10 +find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE)
11 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
12
13 set(CMAKE_CXX_STANDARD 20)
14 @@ -121,18 +121,18 @@ function(build_Qt6)
15 TYPE OPTIONAL
16 PURPOSE "Required to use KStyle convenience functionalities in style")
17
18 - find_package(KF6KCMUtils ${KF6_MIN_VERSION})
19 - set_package_properties(KF6KCMUtils PROPERTIES
20 - TYPE REQUIRED
21 - DESCRIPTION "Helps create configuration modules"
22 - PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style"
23 - )
24 +# find_package(KF6KCMUtils ${KF6_MIN_VERSION})
25 +# set_package_properties(KF6KCMUtils PROPERTIES
26 +# TYPE REQUIRED
27 +# DESCRIPTION "Helps create configuration modules"
28 +# PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style"
29 +# )
30 else()
31 set(WITH_DECORATIONS OFF)
32 set(WITH_WALLPAPERS OFF)
33 endif()
34
35 - find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Svg)
36 + find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Svg DBus OpenGL Network)
37
38 find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
39 CoreAddons
40 @@ -143,7 +143,7 @@ function(build_Qt6)
41 IconThemes
42 WindowSystem)
43
44 - find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick)
45 +# find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick)
46 if(${Qt6Quick_FOUND})
47 find_package(KF6KirigamiPlatform ${KF6_MIN_VERSION} REQUIRED)
48 endif()