mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-pybind11-json: Specify -DPYBIND11_USE_CROSSCOMPILING=ON to support pybind11 13.x
Add support for pkgconfig Use python-native during build to avoid host variability Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -3,10 +3,12 @@ LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98"
|
||||
|
||||
SRCREV = "32043f433ed987b2c2ce99d689ec337bcbd4ba95"
|
||||
SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https"
|
||||
SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \
|
||||
file://d72ad4df929bc9d0882298fc1f85ecf589456ff6.patch"
|
||||
|
||||
DEPENDS += "nlohmann-json python3-pybind11"
|
||||
|
||||
EXTRA_OECMAKE += "-DPYBIND11_USE_CROSSCOMPILING=ON"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
inherit cmake python3native python3targetconfig
|
||||
|
||||
Reference in New Issue
Block a user