[Kmymoney-devel] Building using kdepimlibs

Ian Neal iann_bugzilla at blueyonder.co.uk
Sat Jan 2 01:54:58 CET 2010


  Hi,

I noticed that we already have in CMakeLists.txt:
find_package(KdepimLibs REQUIRED)

but what else do I need to add and to where so that files further down 
in the tree know what to do with:
#include <KHolidays/Holidays>

I have tried adding ${KDEPIM_DEFINITIONS} to add_definitions and 
${KDEPIMLIBS_INCLUDE_DIRS} to include_directories in CMakeLists.txt but 
I still get, when building, errors similar to:
undefined reference to `KHolidays::HolidayRegion::locations()

Thanks in advance,

Ian



More information about the KMyMoney-devel mailing list