Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren authored Aug 29, 2024
1 parent d011f55 commit 708c9aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ API Documentation: http://wjwwood.github.io/serial/doc/1.1.0/index.html
This fork has replaced the previous build setup in order to successfully build with no extra dependencies.
Build it as any other regular CMake project.

#### Usage with CMake FetchContent

```cmake
set(SERIAL_BUILD_EXAMPLES OFF)
FetchContent_Declare(
serial
GIT_REPOSITORY https://github.com/markaren/serial.git
GIT_TAG <git_tag_or_commit_id>
)
FetchContent_MakeAvailable(serial)
...
target_link_libraries(<target> PRIVATE serial)
```

### License

[The MIT License](LICENSE)
Expand Down

0 comments on commit 708c9aa

Please sign in to comment.