Skip to content

Commit

Permalink
Update rclcpp_components_register_node.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
skucheria authored Jul 23, 2019
1 parent 8e05921 commit 793675d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro(rclcpp_components_register_node target)
${PROJECT_BINARY_DIR}/rclcpp_components/node_main_${node}.cpp @ONLY)
add_executable(${node} ${PROJECT_BINARY_DIR}/rclcpp_components/node_main_${node}.cpp)
set(lib ${target})
# Needed so symbols aren't dropped if not usesd
# Needed so symbols aren't dropped if not used
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(lib
"-Wl,--no-as-needed"
Expand Down

0 comments on commit 793675d

Please sign in to comment.