Warning, /graphics/digikam/project/bundles/3rdparty/ext_breeze/breeze-common-rules.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/CMakeLists.txt b/CMakeLists.txt 0002 index 05133a27..41b0e4d7 100644 0003 --- a/CMakeLists.txt 0004 +++ b/CMakeLists.txt 0005 @@ -33,7 +33,7 @@ if(WIN32 OR APPLE) 0006 set(WITH_DECORATIONS OFF) 0007 endif() 0008 0009 -find_package(KF5KCMUtils ${KF5_MIN_VERSION} REQUIRED) 0010 +#find_package(KF5KCMUtils ${KF5_MIN_VERSION} REQUIRED) 0011 0012 if(WITH_DECORATIONS) 0013 find_package(KDecoration2 REQUIRED) 0014 diff --git a/kstyle/CMakeLists.txt b/kstyle/CMakeLists.txt 0015 index 637849f2..732b877b 100644 0016 --- a/kstyle/CMakeLists.txt 0017 +++ b/kstyle/CMakeLists.txt 0018 @@ -10,7 +10,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS 0019 WindowSystem) 0020 0021 find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick) 0022 -set(BREEZE_HAVE_QTQUICK ${Qt${QT_MAJOR_VERSION}Quick_FOUND}) 0023 +#set(BREEZE_HAVE_QTQUICK ${Qt${QT_MAJOR_VERSION}Quick_FOUND}) 0024 if( BREEZE_HAVE_QTQUICK ) 0025 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Kirigami2) 0026 endif() 0027 @@ -88,8 +88,12 @@ set(breeze_PART_SRCS 0028 breezetoolsareamanager.cpp 0029 ) 0030 0031 -kconfig_add_kcfg_files(breeze_PART_SRCS ../kdecoration/breezesettings.kcfgc) 0032 -kconfig_add_kcfg_files(breeze_PART_SRCS breezestyleconfigdata.kcfgc) 0033 +if(CMAKE_CROSSCOMPILING) 0034 + set(breeze_PART_SRCS ${breeze_PART_SRCS} breezesettings.cpp breezestyleconfigdata.cpp) 0035 +else() 0036 + kconfig_add_kcfg_files(breeze_PART_SRCS ../kdecoration/breezesettings.kcfgc) 0037 + kconfig_add_kcfg_files(breeze_PART_SRCS breezestyleconfigdata.kcfgc) 0038 +endif() 0039 add_library(breeze MODULE ${breeze_PART_SRCS}) 0040 target_link_libraries(breeze Qt::Core Qt::Gui Qt::Widgets Qt::DBus) 0041 if( BREEZE_HAVE_QTQUICK ) 0042 @@ -119,4 +123,4 @@ install(TARGETS breeze DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/styles/) 0043 install(FILES breeze.themerc DESTINATION ${KDE_INSTALL_DATADIR}/kstyle/themes) 0044 0045 ########### subdirectories ############### 0046 -add_subdirectory(config) 0047 +#add_subdirectory(config)