From 367671abdb41d2cf25e0c0da29d9fca4058c1ca7 Mon Sep 17 00:00:00 2001
From: Nikhil Ambardar <202-nikaviator@users.noreply.git-st.inf.tu-dresden.de>
Date: Mon, 3 Aug 2020 19:58:21 +0000
Subject: [PATCH] Update CMakeLists.txt

---
 robot_models/CMakeLists.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/robot_models/CMakeLists.txt b/robot_models/CMakeLists.txt
index e7edc6a..7d60288 100644
--- a/robot_models/CMakeLists.txt
+++ b/robot_models/CMakeLists.txt
@@ -131,22 +131,22 @@ include_directories(
 ## 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 ##
-- 
GitLab