include_directories( ${GAZEBO_INCLUDE_DIRS} ${INTERFACES_CPP_DIR} ${LIBS_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${easyiceconfig_INCLUDE_DIRS} ) link_directories( ${GAZEBO_LIBRARY_DIRS} ${easyiceconfig_LIBRARY_DIRS} ) #boost_system add_library(carMotors SHARED carMotors.cc) target_link_libraries(carMotors ${GAZEBO_libraries} ${ZeroCIce_LIBRARIES} ${easyiceconfig_LIBRARIES} colorspacesmm JderobotInterfaces ) add_library(carPose3D SHARED pose3d.cc) target_link_libraries(carPose3D ${GAZEBO_libraries} ${ZeroCIce_LIBRARIES} ${easyiceconfig_LIBRARIES} colorspacesmm JderobotInterfaces ) INSTALL (TARGETS carMotors DESTINATION ${CMAKE_INSTALL_PREFIX}/share/jderobot/gazebo/plugins/car/ COMPONENT gazeboserver) INSTALL (TARGETS carPose3D DESTINATION ${CMAKE_INSTALL_PREFIX}/share/jderobot/gazebo/plugins/car/ COMPONENT gazeboserver) FILE(GLOB_RECURSE CFG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.cfg) INSTALL (FILES ${CFG_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/jderobot/conf COMPONENT gazeboserver)