Files
meta-kf5/classes/kdoctools.bbclass
Michel Zink 2882880331 Change cmake options to support multilib feature
Platforms which uses the multilib feature can not use this layer because
the libdir variable will be change by the multilib bbclass.
Using STAGING_LIBDIR_NATIVE instead is more reliable.
2023-04-18 21:13:48 +02:00

20 lines
490 B
Plaintext

# Class for recipes using kdoctools to build their documentation
#
# SPDX-FileCopyrightText: 2019 Volker Krause <vkrause@kde.org>
#
# SPDX-License-Identifier: MIT
do_compile:prepend() {
# meinproc5 needs to find installed service type files
export XDG_DATA_DIRS=${STAGING_DATADIR}:$XDG_DATA_DIRS
}
DEPENDS:append = " \
kdoctools \
kdoctools-native \
libxslt-native \
karchive-native \
"
EXTRA_OECMAKE:append = " -DKF5_HOST_TOOLING=${STAGING_LIBDIR_NATIVE}/cmake"