qttools: enable clang/qdoc if meta-clang is in layers

We need qt-help native support  for kdevelop and others

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-08-18 07:50:30 +02:00
parent c1ba969c9b
commit 8abd9f2388

View File

@@ -15,3 +15,6 @@ CMAKE_ALIGN_SYSROOT_class-nativesdk[1] = "ignore"
# cross -> native binaries
CMAKE_ALIGN_SYSROOT[1] = "Qt5Help, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
CMAKE_ALIGN_SYSROOT[2] = "Qt5LinguistTools, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
# yeah I know yocto does not want us to change this
PACKAGECONFIG_append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"