Skip to content

Commit

Permalink
refactor for cmake functions
Browse files Browse the repository at this point in the history
  • Loading branch information
skucheria committed Jul 16, 2019
1 parent 2966783 commit 1b1017d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo_nodes_cpp_native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ find_package(rmw REQUIRED)
find_package(std_msgs REQUIRED)
find_package(rmw_fastrtps_cpp QUIET)

rclcpp_components_add_library_with_nodes(talkerLib
add_library(talkerLib SHARED
src/talker.cpp)

ament_target_dependencies(talkerLib
"rclcpp"
"std_msgs"
Expand Down

0 comments on commit 1b1017d

Please sign in to comment.