diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-11-06 17:22:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-11-06 17:22:47 +0000 |
| commit | fb3b7bb6ecc2def9e13712aea9de26c370c52680 (patch) | |
| tree | a3bff775c5791355cf367d03b5ddf38c697dd2bb /pick-ik-fix-Catch2-error.patch | |
| parent | 1cd45d831e47f568521ed67ea43326aa6683626f (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.patch | 19 |
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) |
