Revision e19ad051 CMakeLists.txt

View differences:

CMakeLists.txt
234 234
    if(TARGET ${PROJECT_NAME}-test-client)
235 235
    target_link_libraries(${PROJECT_NAME}-test-client ${PROJECT_NAME})
236 236
    endif()
237
    catkin_add_gtest(${PROJECT_NAME}-test-timestamp test/timestamp.cpp)
238
    if(TARGET ${PROJECT_NAME}-test-timestamp)
239
    target_link_libraries(${PROJECT_NAME}-test-timestamp ${PROJECT_NAME})
240
    endif()
237 241
ENDIF (catkin_FOUND)
238 242

  
239 243

  

Also available in: Unified diff