python3-scikit-build-core: Use cmake from PATH

Added a patch to remove using CMAKE_BIN_DIR. Instead, use
the fallback to find cmake from PATH.

It's a pre-requisite for building python3-nanobind correctly.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Zoltán Böszörményi authored and Khem Raj committed 2025-11-12 06:49:44 -08:00
1 parent c3bc474c6c
commit c83aea044e
2 files changed
+51 -1

No files matched your search

@@ -9,7 +9,10 @@ DEPENDS = "python3-hatch-vcs-native"
inherit pypi python_hatchling
SRC_URI += "file://0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch"
SRC_URI += " \
file://0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch \
file://0001-Find-cmake-from-PATH-instead-of-CMAKE_BIN_DIR.patch \
"
SRC_URI[sha256sum] = "5982ccd839735be99cfd3b92a8847c6c196692f476c215da84b79d2ad12f9f1b"
BBCLASSEXTEND = "native nativesdk"