Skip to content

Commit

Permalink
Add messages to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesschrimpf committed Sep 2, 2024
1 parent 72dd1d1 commit 15d48ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ find_package(std_srvs)
find_package(builtin_interfaces)

if("${rclcpp_FOUND}")
message(STATUS "ROS2 found")
set(LD_FLAGS "${LD_FLAGS} -lpthread")
else()
message(STATUS "ROS2 not found")
add_definitions("-DNO_ROS")
endif()

Expand Down

0 comments on commit 15d48ec

Please sign in to comment.