mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-18 23:08:30 +00:00
python3-cmake: New recipe
Some python modules rely on "import cmake". Only build and ship the python parts, and don't download and build cmake from sources. Use the already built cmake instead. The CMakeLists.txt file is a crippled copy from this cmake python module's sources, removing almost everything, and adding a dummy install target, so do_install() doesn't fail. The python code is patched so cmake is used from PATH. 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:
committed by
Khem Raj
parent
bf6779b62a
commit
78f2b8c793
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
#
|
||||
# For more details, see docs/building.rst
|
||||
#
|
||||
|
||||
project(CMakePythonDistributions NONE)
|
||||
|
||||
install(CODE "
|
||||
message(STATUS \"Install CMake project\")
|
||||
")
|
||||
Reference in New Issue
Block a user