Skip to content
Snippets Groups Projects
Commit cda40881 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove dependency of gtest_problem on OpenCV

parent 112da271
No related branches found
No related tags found
1 merge request!152Fix OpenCV dependencies in gtest_problem
Pipeline #
...@@ -72,6 +72,10 @@ target_link_libraries(gtest_local_param ${PROJECT_NAME}) ...@@ -72,6 +72,10 @@ target_link_libraries(gtest_local_param ${PROJECT_NAME})
wolf_add_gtest(gtest_motion_buffer gtest_motion_buffer.cpp) wolf_add_gtest(gtest_motion_buffer gtest_motion_buffer.cpp)
target_link_libraries(gtest_motion_buffer ${PROJECT_NAME}) target_link_libraries(gtest_motion_buffer ${PROJECT_NAME})
# Problem class test
wolf_add_gtest(gtest_problem gtest_problem.cpp)
target_link_libraries(gtest_problem ${PROJECT_NAME})
# ProcessorMotion class test # ProcessorMotion class test
wolf_add_gtest(gtest_processor_motion gtest_processor_motion.cpp) wolf_add_gtest(gtest_processor_motion gtest_processor_motion.cpp)
target_link_libraries(gtest_processor_motion ${PROJECT_NAME}) target_link_libraries(gtest_processor_motion ${PROJECT_NAME})
...@@ -144,10 +148,6 @@ target_link_libraries(gtest_constraint_autodiff ${PROJECT_NAME}) ...@@ -144,10 +148,6 @@ target_link_libraries(gtest_constraint_autodiff ${PROJECT_NAME})
# ROI test # ROI test
IF(OpenCV_FOUND) IF(OpenCV_FOUND)
# Problem class test
wolf_add_gtest(gtest_problem gtest_problem.cpp)
target_link_libraries(gtest_problem ${PROJECT_NAME})
wolf_add_gtest(gtest_roi_ORB gtest_roi_ORB.cpp) wolf_add_gtest(gtest_roi_ORB gtest_roi_ORB.cpp)
target_link_libraries(gtest_roi_ORB ${PROJECT_NAME}) target_link_libraries(gtest_roi_ORB ${PROJECT_NAME})
ENDIF(OpenCV_FOUND) ENDIF(OpenCV_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment