From a52c69999a0c613504956f026c52f1afa030f493 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 8 Mar 2025 15:41:57 +0000 Subject: automatic import of ros-humble-pick-ik --- pick-ik-fix-Catch2-error.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pick-ik-fix-Catch2-error.patch (limited to 'pick-ik-fix-Catch2-error.patch') 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) -- cgit v1.2.3