readme: add section 'Using signal-wrangler with CMake'

This commit is contained in:
Tom 2021-05-17 19:55:10 +02:00 committed by GitHub
parent b04f2a4697
commit 6dc4c3b3b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,3 +134,12 @@ make example && ./example
make install
```
## Using signal-wrangler with CMake
Install signal-wrangler by running `make install` (See above).
To use signal-wrangler in a CMake project, you can then add a dependency on signal-wrangler through CMake's `find_package`:
```CMAKE
find_package(Sgnl REQUIRED)
target_link_libraries(my-project sgnl::sgnl ...)
```