summaryrefslogtreecommitdiff
path: root/webots-ros2-driver-fix-pylibs.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-24 08:10:18 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-24 08:10:18 +0000
commit2be4c135fed57d7e149e559c22af3850a7f79619 (patch)
treee391186f88f69846251b808257b93de2834480e9 /webots-ros2-driver-fix-pylibs.patch
parentc6407c02b1cb3db3dbcb85107845379659ec77b2 (diff)
automatic import of ros-humble-webots-ros2-driver
Diffstat (limited to 'webots-ros2-driver-fix-pylibs.patch')
-rw-r--r--webots-ros2-driver-fix-pylibs.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/webots-ros2-driver-fix-pylibs.patch b/webots-ros2-driver-fix-pylibs.patch
index ed1c88e..d0e979e 100644
--- a/webots-ros2-driver-fix-pylibs.patch
+++ b/webots-ros2-driver-fix-pylibs.patch
@@ -1,11 +1,11 @@
---- ros-humble-webots-ros2-driver-2023.0.2/CMakeLists.txt_org 2023-05-07 21:48:41.122774606 +0800
-+++ ros-humble-webots-ros2-driver-2023.0.2/CMakeLists.txt 2023-05-07 21:48:49.619782644 +0800
-@@ -37,7 +37,7 @@
- if($ENV{ROS_DISTRO} MATCHES "foxy")
- find_package(PythonLibs 3.8 EXACT REQUIRED)
- else()
-- find_package(PythonLibs 3.10 EXACT REQUIRED)
-+ find_package(PythonLibs 3.9 EXACT REQUIRED)
- endif()
+--- a/webots_ros2_driver/CMakeLists.txt
++++ b/webots_ros2_driver/CMakeLists.txt
+@@ -31,7 +31,7 @@
+ find_package(yaml-cpp REQUIRED)
- add_custom_target(compile-lib-controller ALL
+ if($ENV{ROS_DISTRO} MATCHES "humble")
+- find_package(Python 3.10 EXACT REQUIRED COMPONENTS Development)
++ find_package(Python 3.11 EXACT REQUIRED COMPONENTS Development)
+ elseif($ENV{ROS_DISTRO} MATCHES "iron")
+ find_package(Python 3.10 EXACT REQUIRED COMPONENTS Development)
+ elseif($ENV{ROS_DISTRO} MATCHES "jazzy")