Unbreak with CMake 3.23

Spotted by naddy, thanks
This commit is contained in:
rsadowski 2022-05-29 16:55:21 +00:00
parent bafec5df09
commit 7c160450c0
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@ COMMENT = accounting for KDE 5
VERSION = 5.1.2
DISTNAME = kmymoney-${VERSION}
REVISION = 1
REVISION = 2
CATEGORIES = productivity x11

View File

@ -14,6 +14,15 @@ Index: CMakeLists.txt
endif()
if (PkgConfig_FOUND)
@@ -85,7 +85,7 @@ if (PkgConfig_FOUND)
endif()
find_package(Qt5 5.6 REQUIRED COMPONENTS
- Core DBus Widgets Svg Xml Test PrintSupport)
+ Core DBus Widgets Svg Xml Test PrintSupport WebChannel Positioning Sensors Quick)
find_package(Qt5 5.6 OPTIONAL_COMPONENTS
Sql Concurrent QuickWidgets)
@@ -238,7 +238,7 @@ if(ENABLE_OFXIMPORTER)
set(PATH_TO_LIBOFX_HEADER "${PATH_TO_LIBOFX_HEADER}/libofx/libofx.h")
unset(LIBOFX_HAVE_CLIENTUID)