From 42d4cccf89eb9632288a8cc9a25e56f9d47e2235 Mon Sep 17 00:00:00 2001 From: Joan Sola <jsola@iri.upc.edu> Date: Fri, 12 Nov 2021 19:23:50 +0100 Subject: [PATCH] Remove indirect dependencies --- CMakeLists.txt | 1 - test/CMakeLists.txt | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 681ff424b..dc4fc487d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,6 @@ ENDIF(BUILD_EXAMPLES OR BUILD_TESTS) FIND_PACKAGE(wolfcore REQUIRED) FIND_PACKAGE(vision_utils REQUIRED) -MESSAGE("vision_utils Library FOUND: vision related sources will be built.") SET(PRINT_INFO_VU false) FIND_PACKAGE(OpenCV REQUIRED) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 193f3a0d6..fc45cf743 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -15,27 +15,27 @@ target_link_libraries(gtest_example ${PLUGIN_NAME}) # # Pinhole test wolf_add_gtest(gtest_pinhole gtest_pinhole.cpp) -target_link_libraries(gtest_pinhole ${PLUGIN_NAME} ${wolf_LIBRARY}) +target_link_libraries(gtest_pinhole ${PLUGIN_NAME}) wolf_add_gtest(gtest_sensor_camera gtest_sensor_camera.cpp) -target_link_libraries(gtest_sensor_camera ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_sensor_camera ${PLUGIN_NAME}) # FactorTrifocal test wolf_add_gtest(gtest_factor_trifocal gtest_factor_trifocal.cpp) -target_link_libraries(gtest_factor_trifocal ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_factor_trifocal ${PLUGIN_NAME}) # FactorFeatureEpipolar test wolf_add_gtest(gtest_factor_epipolar gtest_factor_epipolar.cpp) -target_link_libraries(gtest_factor_epipolar ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_factor_epipolar ${PLUGIN_NAME}) # ProcessorFeatureTrifocal test wolf_add_gtest(gtest_processor_tracker_feature_trifocal gtest_processor_tracker_feature_trifocal.cpp) -target_link_libraries(gtest_processor_tracker_feature_trifocal ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_processor_tracker_feature_trifocal ${PLUGIN_NAME}) # ProcessorBundleAdjustment test wolf_add_gtest(gtest_processor_bundle_adjustment gtest_processor_bundle_adjustment.cpp) -target_link_libraries(gtest_processor_bundle_adjustment ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_processor_bundle_adjustment ${PLUGIN_NAME}) # FactorPixelHp test wolf_add_gtest(gtest_factor_pixel_hp gtest_factor_pixel_hp.cpp) -target_link_libraries(gtest_factor_pixel_hp ${PLUGIN_NAME} ${wolf_LIBRARY} ${OpenCV_LIBS} ${vision_utils_LIBRARY}) +target_link_libraries(gtest_factor_pixel_hp ${PLUGIN_NAME}) -- GitLab