Revision 02461ac8

View differences:

client/cpp/CMakeLists.txt
76 76

  
77 77
    message(STATUS "ROS Support is ON")
78 78
    add_definitions(-DROS_SUPPORT=1)
79
    include_directories(${catkin_INCLUDE_DIRS})
79 80
ENDIF (catkin_FOUND)
80 81

  
81 82
add_definitions ("-Wall")
......
125 126
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
126 127
LINK_DIRECTORIES(${LIBDIR})
127 128
IF (ROS_FOUND)
128
    add_dependencies(${HLRC_CLIENT_LIBNAME} ${catkin_EXPORTED_TARGETS} hlrc_server_gencpp)
129
    add_dependencies(${HLRC_CLIENT_LIBNAME} ${catkin_EXPORTED_TARGETS})
129 130
ENDIF (ROS_FOUND)
130 131

  
131 132
target_link_libraries(${HLRC_CLIENT_LIBNAME} ${RSB_LIBRARIES} ${RST_LIBRARIES} ${catkin_LIBRARIES})

Also available in: Unified diff