summaryrefslogtreecommitdiff
path: root/pick-ik-fix-Catch2-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-26 17:54:28 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-26 17:54:28 +0000
commitdba4812631c8913d19070302571f6bcc9786d40d (patch)
tree40dd74c0edd8b2a4d72fc535d7ba33641696e4e9 /pick-ik-fix-Catch2-error.patch
parent2e196238b8452706b8876568b90f1184d1df8dc1 (diff)
automatic import of ros-humble-pick-ikopeneuler24.03_LTS
Diffstat (limited to 'pick-ik-fix-Catch2-error.patch')
-rw-r--r--pick-ik-fix-Catch2-error.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pick-ik-fix-Catch2-error.patch b/pick-ik-fix-Catch2-error.patch
new file mode 100644
index 0000000..5c7fc64
--- /dev/null
+++ b/pick-ik-fix-Catch2-error.patch
@@ -0,0 +1,19 @@
+--- ros-humble-pick-ik-1.0.1_org/tests/CMakeLists.txt 2023-05-11 17:43:27.366923785 +0800
++++ ros-humble-pick-ik-1.0.1/tests/CMakeLists.txt 2023-05-11 17:44:51.517452612 +0800
+@@ -1,7 +1,8 @@
+-list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
+
+ find_package(Catch2 3.3.0 REQUIRED)
+-
++if (NOT Catch2_FOUND)
++ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
++endif()
+ add_executable(test-pick_ik
+ goal_tests.cpp
+ ik_tests.cpp
+@@ -14,4 +15,5 @@
+ Catch2::Catch2WithMain
+ moveit_core::moveit_test_utils
+ )
++include(Catch)
+ catch_discover_tests(test-pick_ik)