From 4bb2586441f7999c3b107309d9c3364b5621b0d5 Mon Sep 17 00:00:00 2001 From: Jeremie Deray <todo@stuff.com> Date: Sat, 5 Aug 2017 14:35:57 +0200 Subject: [PATCH] mv gtest_problem within OpenCV_FOUND guards --- src/test/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 0b01f569f..9f5f51f7a 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -68,10 +68,6 @@ target_link_libraries(gtest_local_param ${PROJECT_NAME}) wolf_add_gtest(gtest_motion_buffer gtest_motion_buffer.cpp) 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}) - # Rotation test wolf_add_gtest(gtest_rotation gtest_rotation.cpp) target_link_libraries(gtest_rotation ${PROJECT_NAME}) @@ -140,6 +136,10 @@ target_link_libraries(gtest_odom_3D ${PROJECT_NAME}) # ROI test 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) target_link_libraries(gtest_roi_ORB ${PROJECT_NAME}) ENDIF(OpenCV_FOUND) \ No newline at end of file -- GitLab