summaryrefslogtreecommitdiff
path: root/webots-ros2-driver-fix-pylibs.patch
diff options
context:
space:
mode:
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")