mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 10:14:50 +03:00
Fix cross-compiling ROS2 packages.
This commit is contained in:
parent
93cf5a5ba4
commit
87396617b9
5 changed files with 47 additions and 5 deletions
6
distros/python-cmake-module-setup-hook.sh
Normal file
6
distros/python-cmake-module-setup-hook.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
_pythonCmakeModulePreConfigureHook() {
|
||||
cmakeFlags+=" -DPYTHON_EXECUTABLE=@pythonExecutable@"
|
||||
cmakeFlags+=" -DPYTHON_LIBRARY=@pythonLibrary@"
|
||||
cmakeFlags+=" -DPYTHON_INCLUDE_DIR=@pythonIncludeDir@"
|
||||
}
|
||||
preConfigureHooks+=(_pythonCmakeModulePreConfigureHook)
|
Loading…
Add table
Add a link
Reference in a new issue