diff --git a/robot_models/CMakeLists.txt b/robot_models/CMakeLists.txt index e9ff5d28f9df6c7be2f037ea6720996dec4b7f0c..f94be681a022e591da02545188d7a415cf3dbc63 100644 --- a/robot_models/CMakeLists.txt +++ b/robot_models/CMakeLists.txt @@ -103,7 +103,7 @@ find_package(catkin REQUIRED COMPONENTS catkin_package( # INCLUDE_DIRS include # LIBRARIES robot_models -# CATKIN_DEPENDS gazebo_ros +# CATKIN_DEPENDS gazebo_ros # DEPENDS system_lib ) @@ -114,7 +114,7 @@ catkin_package( ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories( -# include + #include ${catkin_INCLUDE_DIRS} ) @@ -126,27 +126,27 @@ include_directories( ## Add cmake target dependencies of the library ## as an example, code may need to be generated before libraries ## either from message generation or dynamic reconfigure -# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) + add_dependencies(${robot_models} ${${robot_models}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) ## Declare a C++ executable ## With catkin_make all packages are built within a single CMake context ## The recommended prefix ensures that target names across packages don't collide -# add_executable(${PROJECT_NAME}_node src/robot_models_node.cpp) + add_executable(${robot_models}_node src/robot_models_node.cpp) ## Rename C++ executable without prefix ## The above recommended prefix causes long target names, the following renames the ## target back to the shorter version for ease of user use ## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node" -# set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "") + set_target_properties(${robot_models}_node PROPERTIES OUTPUT_NAME node PREFIX "") ## Add cmake target dependencies of the executable ## same as for the library above -# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) +## add_dependencies(${robot_models}_node ${${robot_models}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) ## Specify libraries to link a library or executable target against -# target_link_libraries(${PROJECT_NAME}_node -# ${catkin_LIBRARIES} -# ) +## target_link_libraries(${robot_models}_node + ## ${catkin_LIBRARIES} +## ) ############# ## Install ## @@ -201,4 +201,4 @@ include_directories( # endif() ## Add folders to be run by python nosetests -# catkin_add_nosetests(test) +# catkin_add_nosetests(test) \ No newline at end of file