We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4016873 + 91d05ef commit fefd399Copy full SHA for fefd399
mqtt_client/CMakeLists.txt
@@ -6,6 +6,7 @@ set(ROS_VERSION $ENV{ROS_VERSION})
6
7
## Compile as C++17
8
add_compile_options(-std=c++17)
9
+link_libraries("$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:-lstdc++fs>")
10
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
11
add_compile_options(-Wall -Wextra -Wpedantic)
12
endif()
0 commit comments