Skip to content

Commit

Permalink
turn off building of g2o related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
feixh committed Sep 1, 2019
1 parent 4fc37ae commit bd1aa37
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ target_link_libraries(vio ${libxivo} gflags::gflags)
################################################################################
# TESTS
################################################################################
message(INFO ${libxivo})
add_executable(test_optimizer test/test_optimizer.cpp)
target_link_libraries(test_optimizer ${libxivo})
if (BUILD_G2O)
message(INFO ${libxivo})
add_executable(test_optimizer test/test_optimizer.cpp)
target_link_libraries(test_optimizer ${libxivo})
endif(BUILD_G2O)

# add_executable(test_givens test/test_givens.cpp )
# target_link_libraries(test_givens estimator)
Expand Down

0 comments on commit bd1aa37

Please sign in to comment.