xapian-core: align cmake path to fix build for khelpcenter

This solution won't work without cmake_qt5.bbclass. As long as there is no
consumer of xapian outside meta-qt5-extra we can accept this solution.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-06-13 14:02:59 +02:00
parent fe99fd5e9e
commit 05d611c02a

View File

@@ -7,8 +7,10 @@ SRC_URI = "http://oligarchy.co.uk/xapian/${PV}/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "5308261e78337604bd8f845dd6b4aafc"
SRC_URI[sha256sum] = "10584f57112aa5e9c0e8a89e251aecbf7c582097638bfee79c1fe39a8b6a6477"
inherit autotools
inherit autotools cmake_lib
DEPENDS = "util-linux zlib"
FILES_${PN}-dev += "${libdir}/cmake"
CMAKE_ALIGN_SYSROOT[1] = "xapian, -S${libdir}, -s${OE_QMAKE_PATH_HOST_LIBS}/"