Revision 2cf3c285 server/CMakeLists.txt

View differences:

server/CMakeLists.txt
55 55
IF (catkin_FOUND)
56 56
    SET(ROS_FOUND 1)
57 57

  
58
    find_package(catkin REQUIRED COMPONENTS roscpp std_msgs geometry_msgs sensor_msgs message_generation genmsg actionlib_msgs actionlib)
58
    find_package(catkin REQUIRED COMPONENTS roscpp std_msgs geometry_msgs sensor_msgs message_generation genmsg actionlib_msgs actionlib tf2_ros tf2_eigen angles)
59
    find_package(PkgConfig REQUIRED)
60
    pkg_search_module(EIGEN3 REQUIRED eigen3)
59 61

  
60 62
    message(STATUS "ROS Support is ON")
61 63
    add_definitions(-DROS_SUPPORT=1)
......
111 113
        message("> using humotion includes from " ${humotion_INCLUDE_DIRS})
112 114
ELSE (humotion_FOUND)
113 115
        message(FATAL_ERROR "> error: can not find libhumotion")
114

  
115 116
endif (humotion_FOUND)
116 117

  
117 118
###################################
......
127 128
ENDIF (AO_FOUND)
128 129

  
129 130
#build 
130
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${humotion_INCLUDE_DIRS} ${AO_INCLUDE_DIRS} ${humotion_INCLUDE_DIRS})
131
include_directories(include ${catkin_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${humotion_INCLUDE_DIRS} ${AO_INCLUDE_DIRS} ${humotion_INCLUDE_DIRS})
131 132
link_directories(${catkin_LIBRARY_DIRS} ${Boost_LIBRARY_DIRS} ${AO_LIBRARY_DIRS} ${humotion_LIBRARY_DIRS})
132 133

  
133 134
#build dummy list of header files

Also available in: Unified diff