diff --git a/README.md b/README.md index 876fdf2..77862b9 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,13 @@ Supporting: The repository uses cmake for building. You can place it in a subfolder of your project and include it in you `CMakeLists.txt`. For example if the library is placed in the subfolder `roboidcontrol`: ``` +# Add the path to Roboid Control add_subdirectory(roboidcontrol) -add_executable(my_executable main.cpp) # Your source files/executable +# Your source files/executable +add_executable(my_executable main.cpp) + +# Link against RoboidControl target_link_libraries(my_executable RoboidControl) ```