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.
1 parent 5c733cd commit 21eba01Copy full SHA for 21eba01
ReadMe.md
@@ -80,15 +80,17 @@ In your CMake package you can then find the package and link to it as follows:
80
cmake_minimum_required(VERSION 3.20)
81
project(your_project)
82
83
-set(CMAKE_CXX_STANDARD 17)
84
-set(CMAKE_CXX_STANDARD_REQUIRED True)
85
-
86
find_package(myactuator_rmd REQUIRED)
87
88
add_executable(your_node
89
src/main.cpp
90
)
91
-target_link_libraries(your_node PUBLIC myactuator_rmd::myactuator_rmd)
+target_compile_features(your_node PUBLIC
+ cxx_std_17
+)
+target_link_libraries(your_node PUBLIC
92
+ myactuator_rmd::myactuator_rmd
93
94
```
95
96
A minimal example for the `main.cpp` can be found below:
0 commit comments