Bug #229
Aqbanking is picking up gwenhywfar's includedir variable
Status:
Resolved
Priority:
High
Category:
-
Start date:
02/08/2021
Due date:
Betriebssystem:
MacOSX
AqBanking-Version:
6.2.5
Anwendung:
KMyMoney
Version der Anwendung:
Description
As of cmake 3.19.4, aqbanking cmake is failing with:
CMake Error at /opt/homebrew/lib/cmake/gwenhywfar-5.5/gwenhywfar-config.cmake:7 (message): File or directory /opt/homebrew/Cellar/gwenhywfar/5.5.0/include/aqbanking6 referenced by variable AQBANKING_INCLUDE_DIRS does not exist ! Call Stack (most recent call first): /opt/homebrew/lib/cmake/aqbanking-6.2/aqbanking-config.cmake:24 (set_and_check)
This is because aqbanking-config.cmake does not declare own includedir, making cmake pick up gwenhywfar's.
Adding missing set_and_check() to aqbanking-config.cmake fixes the issue.
Feel free to pick the fix from my fork:
https://github.com/wrobelda/aqbanking/commit/171dbecb9720b168282126dcf00e741d9b8e912a