[Kmymoney-devel] Fwd: extragear/office/kmymoney/cmake/modules [BROKEN EMAIL]

Alvaro Soliverez asoliverez at kde.org
Wed Sep 1 01:07:29 CEST 2010


This last update broke the build in my case.
Did anyone else have a problem with it?

Regards,
Alvaro


---------- Forwarded message ----------
From: Alex Merry <kde at randomguy3.me.uk>
Date: Mon, Aug 30, 2010 at 4:12 PM
Subject: extragear/office/kmymoney/cmake/modules [BROKEN EMAIL]
To: kde-commits at kde.org


SVN commit 1170104 by alexmerry:

Make sure AqBanking is built in the required configuration



 M  +14 -0     FindAqBanking.cmake


--- trunk/extragear/office/kmymoney/cmake/modules/FindAqBanking.cmake
#1170103:1170104
@@ -26,6 +26,20 @@
 PKG_CHECK_MODULES(AQBANKING aqbanking>=${AQBANKING_MIN_VERSION}
aqbanking<=${AQBANKING_MAX_VERSION})

 if(${AQBANKING_FOUND})
+   find_file(Q4BANKING_QBANKING_H
+      NAMES qbanking.h
+      PATHS ${AQBANKING_INCLUDE_DIRS}
+      PATH_SUFFIXES q4banking)
+   if (NOT EXISTS ${Q4BANKING_QBANKING_H})
+      set(AQBANKING_FOUND FALSE)
+      unset(AQBANKING_INCLUDE_DIRS)
+      unset(AQBANKING_LIBRARIES)
+      unset(AQBANKING_VERSION)
+      message(STATUS "AqBanking does not have the Q4Banking frontend enabled")
+   endif (NOT EXISTS ${Q4BANKING_QBANKING_H})
+endif(${AQBANKING_FOUND})
+
+if(${AQBANKING_FOUND})
  # if AqBanking has been found make sure to add the q4banking lib
  set(AQBANKING_LIBRARIES ${AQBANKING_LIBRARIES} q4banking)
 endif(${AQBANKING_FOUND})


More information about the KMyMoney-devel mailing list