Skip to content

Commit

Permalink
Merge pull request #46 from prbelarmino/main
Browse files Browse the repository at this point in the history
Update CMakeLists file to run on a raspbian buster system
  • Loading branch information
lreiher authored Oct 28, 2024
2 parents 4016873 + 91d05ef commit fefd399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mqtt_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set(ROS_VERSION $ENV{ROS_VERSION})

## Compile as C++17
add_compile_options(-std=c++17)
link_libraries("$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:-lstdc++fs>")
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
Expand Down

0 comments on commit fefd399

Please sign in to comment.