Skip to content

Commit

Permalink
properly link to gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Apr 25, 2015
1 parent 0e7d5f2 commit 6eda263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ if(CATKIN_ENABLE_TESTING)
target_link_libraries(dummy_scan_producer ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_dependencies(dummy_scan_producer ${PROJECT_NAME}_gencpp)

add_executable(test_assembler EXCLUDE_FROM_ALL test/test_assembler.cpp)
target_link_libraries(test_assembler ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_executable(test_assembler test/test_assembler.cpp)
target_link_libraries(test_assembler ${catkin_LIBRARIES} ${Boost_LIBRARIES} gtest)
add_dependencies(test_assembler ${PROJECT_NAME}_gencpp)

add_rostest(test/test_laser_assembler.launch)
Expand Down

0 comments on commit 6eda263

Please sign in to comment.