mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-03-06 23:39:40 +01:00
Bump KF5 frameworks to 5.109.0
This commit is contained in:
12
classes/cmake_sysroot.bbclass
Normal file
12
classes/cmake_sysroot.bbclass
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-FileCopyrightText: 2023 Justin Hammond <justin@dynam.ac>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
|
||||
#The Cmake files include the sysroot directory to various library include files, delete the actual sysroot from the path.
|
||||
do_install:prepend:class-target() {
|
||||
if [ "0" -ne $(find . -name \*.cmake | grep '_usr\|Export' | wc -l) ]; then
|
||||
echo sed -i 's#'${RECIPE_SYSROOT}/usr'#\$\{_IMPORT_PREFIX\}#g' $(find . -name "*.cmake" | grep '_usr\|Export' )
|
||||
sed -i 's#'${RECIPE_SYSROOT}/usr'#\$\{_IMPORT_PREFIX\}#g' $(find . -name "*.cmake" | grep '_usr\|Export' )
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user