Commit Graph
3 Commits
Author SHA1 Message Date
Khem Raj cd7888e391 python3-pybind11-json: upgrade 0.2.15 -> 0.3.0
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>
2026-11-22 22:33:56 -08:00
Tafil Avdyli 0332dae9bb python3-pybind11-json: fix Targets.cmake trying to reference host
The resulting pybind11_jsonTargets.cmake in the dev-package adds an
absolute path to python include directories in the target properties:

  set_target_properties(pybind11_json PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "/usr/include/python3.13;${_IMPORT_PREFIX}/include"
  )

The patch removes ${PYTHON_INCLUDE_DIRS} which is set by pybind11 from
set_target_properties to remove the poisonous host path.

Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-16 00:34:02 -08:00
Khem Raj 09b6a82dbf 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>
2025-03-22 09:31:26 -07:00