Skip to content

Commit

Permalink
pendulum_control: add -lpthread
Browse files Browse the repository at this point in the history
Build fails. Tried adding lpthread flag
  • Loading branch information
vmayoral committed Aug 24, 2015
1 parent 19e5bbe commit ea77763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pendulum_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif()

find_package(ament_cmake REQUIRED)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -lpthread")

find_package(rclcpp REQUIRED)
find_package(rmw_implementation REQUIRED)
Expand Down

0 comments on commit ea77763

Please sign in to comment.