Skip to content

Commit

Permalink
Add review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Apple authored Jul 6, 2021
1 parent 4393a09 commit d09bb53
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ q.wait_dequeue_timed(number, std::chrono::milliseconds(10));
```
# CMake
## Using targets in your project
## CMake
### Using targets in your project
Using this project as a part of an existing CMake project is easy.
In your CMakeLists.txt:
Expand All @@ -137,16 +137,16 @@ target_link_libraries(my_target PUBLIC readerwriterqueue)
```
In main.cpp:
```
```cpp
#include <readerwriterqueue.h>
int main(void)
int main()
{
moodycamel::ReaderWriterQueue<int> q(100);
}
```

## Installing into system directories
### Installing into system directories
As an alternative to including the source files in your project directly,
you can use CMake to install the library in your system's include directory:

Expand Down

0 comments on commit d09bb53

Please sign in to comment.