Skip to content

Commit d91d2ff

Browse files
author
Siddharth Kucheria
committed
fix linter issue
Signed-off-by: Siddharth Kucheria <[email protected]>
1 parent 94ea26b commit d91d2ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rclcpp_components/cmake/rclcpp_components_register_node.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ macro(rclcpp_components_register_node target)
3030
set(component ${ARGS_PLUGIN})
3131
set(node ${ARGS_EXECUTABLE})
3232
_rclcpp_components_register_package_hook()
33-
set(_path "lib")
33+
set(_path "lib")
3434
set(library_name "$<TARGET_FILE_NAME:${target}>")
3535
if(WIN32)
3636
set(_path "bin")
3737
endif()
3838
set(_RCLCPP_COMPONENTS__NODES
3939
"${_RCLCPP_COMPONENTS__NODES}${component};${_path}/$<TARGET_FILE_NAME:${target}>\n")
4040
configure_file(${rclcpp_components_NODE_TEMPLATE}
41-
${PROJECT_BINARY_DIR}/node_main_configured.cpp.in)
41+
${PROJECT_BINARY_DIR}/rclcpp_components/node_main_configured_${node}.cpp.in)
4242
file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/rclcpp_components/node_main_${node}.cpp
43-
INPUT ${PROJECT_BINARY_DIR}/node_main_configured.cpp.in)
43+
INPUT ${PROJECT_BINARY_DIR}/rclcpp_components/node_main_configured_${node}.cpp.in)
4444
add_executable(${node} ${PROJECT_BINARY_DIR}/rclcpp_components/node_main_${node}.cpp)
4545
ament_target_dependencies(${node}
4646
"rclcpp"

0 commit comments

Comments
 (0)