mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2026-04-09 14:22:30 +02:00
extra-cmake-modules: built qt6 support depending on DISTRO_FEATURES
use the 'kde' distro_feature (provided by meta-qt6) to add qt6 support
This commit is contained in:
@@ -8,11 +8,11 @@ LIC_FILES_CHKSUM += "file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f8376
|
|||||||
SRC_URI = "git://invent.kde.org/frameworks/extra-cmake-modules.git;protocol=https;nobranch=1"
|
SRC_URI = "git://invent.kde.org/frameworks/extra-cmake-modules.git;protocol=https;nobranch=1"
|
||||||
SRCREV = "d8d80bcc61341239519392eef1360c796bf25931"
|
SRCREV = "d8d80bcc61341239519392eef1360c796bf25931"
|
||||||
|
|
||||||
DEPENDS = "cmake-native"
|
DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'qttools qtbase-native qttools-native', '', d)}"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
EXTRA_OECMAKE:append = "-DBUILD_TESTING=OFF"
|
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF -DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}"
|
||||||
|
|
||||||
FILES:${PN}-dev += " ${datadir}/ECM"
|
FILES:${PN}-dev += " ${datadir}/ECM"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user