fixed find_object_2d install targets

This commit is contained in:
matlabbe 2015-05-20 15:13:52 -04:00
parent 2ad11bdece
commit 77ea44bcbc
2 changed files with 11 additions and 11 deletions

View File

@ -285,17 +285,6 @@ ELSE()
#############
## Install ##
#############
## Mark executables and/or libraries for installation
install(TARGETS
find_object
find_object_2d
print_objects_detected
tf_example
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## Mark other files for installation (e.g. launch and bag files, etc.)
install(FILES
launch/find_object_2d_gui.launch

View File

@ -138,4 +138,15 @@ ELSE()
add_executable(tf_example ros/tf_example_node.cpp)
target_link_libraries(tf_example ${LIBRARIES})
add_dependencies(tf_example find_object_2d_generate_messages_cpp)
## Mark executables and/or libraries for installation
install(TARGETS
find_object
find_object_2d
print_objects_detected
tf_example
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
ENDIF()