diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-08 15:41:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-08 15:41:57 +0000 |
commit | a52c69999a0c613504956f026c52f1afa030f493 (patch) | |
tree | 4c0721c2e472c5e4796bc1e7eb58f47d5e4103c1 /pick-ik-fix-Catch2-error.patch | |
parent | 667b7943738917499227ed5c30a061c5535371ad (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) |