You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
469 B
CMake
13 lines
469 B
CMake
3 years ago
|
if(UNIX)
|
||
|
catkin_add_gtest(${PROJECT_NAME}-test unix_serial_tests.cc)
|
||
|
target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME} ${Boost_LIBRARIES})
|
||
|
if(NOT APPLE)
|
||
|
target_link_libraries(${PROJECT_NAME}-test util)
|
||
|
endif()
|
||
|
|
||
|
if(NOT APPLE) # these tests are unreliable on macOS
|
||
|
catkin_add_gtest(${PROJECT_NAME}-test-timer unit/unix_timer_tests.cc)
|
||
|
target_link_libraries(${PROJECT_NAME}-test-timer ${PROJECT_NAME})
|
||
|
endif()
|
||
|
endif()
|