From 2633e8524b990f8830b67dab7e4b7f656fbea33c Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Fri, 12 Nov 2021 19:36:30 +0100 Subject: [PATCH] Remove indirect dependencies --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99e01fd2a..ec898279f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,7 +101,7 @@ FIND_PACKAGE(wolfcore REQUIRED) FIND_PACKAGE(laser_scan_utils REQUIRED) -FIND_PACKAGE(csm QUIET) +#FIND_PACKAGE(csm QUIET) #FIND_PATH( # Suitesparse_INCLUDE_DIRS diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 583ef1c09..75cecdb4b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,15 +14,15 @@ target_link_libraries(gtest_example ${PLUGIN_NAME}) # ########################################################### wolf_add_gtest(gtest_landmark_polyline gtest_landmark_polyline.cpp) -target_link_libraries(gtest_landmark_polyline ${PLUGIN_NAME} ${wolf_LIBRARY}) +target_link_libraries(gtest_landmark_polyline ${PLUGIN_NAME}) if(csm_FOUND) wolf_add_gtest(gtest_processor_odom_icp gtest_processor_odom_icp.cpp) - target_link_libraries(gtest_processor_odom_icp ${PLUGIN_NAME} ${wolf_LIBRARY}) + target_link_libraries(gtest_processor_odom_icp ${PLUGIN_NAME}) endif(csm_FOUND) wolf_add_gtest(gtest_polyline_2d gtest_polyline_2d.cpp) -target_link_libraries(gtest_polyline_2d ${PLUGIN_NAME} ${wolf_LIBRARY}) +target_link_libraries(gtest_polyline_2d ${PLUGIN_NAME}) # wolf_add_gtest(gtest_processor_tracker_feature_polyline_2d gtest_processor_tracker_feature_polyline_2d.cpp) -# target_link_libraries(gtest_processor_tracker_feature_polyline_2d ${PLUGIN_NAME} ${wolf_LIBRARY}) +# target_link_libraries(gtest_processor_tracker_feature_polyline_2d ${PLUGIN_NAME}) -- GitLab