mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:46:39 +00:00
Port to pybind11 3.1, install a pkg-config file, allow newer CMake versions (fixes use with CMake that dropped < 3.5 support) and add gtest as a test dependency. Drop the pkg-config patch; it is merged in 0.3.0. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
16 lines
542 B
BlitzBasic
16 lines
542 B
BlitzBasic
SUMMARY = "Using nlohmann::json with pybind11"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=0e25ff0ec476d06d366439e1120cce98"
|
|
|
|
SRCREV = "94ae3ad9693cc572c673938d84044dfd6fe22532"
|
|
SRC_URI = "git://github.com/pybind/pybind11_json;branch=master;protocol=https \
|
|
file://0001-CMakeLists-drop-PYTHON_INCLUDE_DIRS-from-interface.patch"
|
|
|
|
DEPENDS += "nlohmann-json python3-pybind11"
|
|
|
|
EXTRA_OECMAKE += "-DPYBIND11_USE_CROSSCOMPILING=ON"
|
|
|
|
inherit cmake python3native python3targetconfig
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|