Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
crosscode-nl committed Nov 16, 2020
1 parent a7ae9c9 commit 90985a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ include(FetchContent)
FetchContent_Declare(
influxdblptool
GIT_REPOSITORY https://github.com/crosscode-nl/influxdblptool
GIT_TAG v2.0.0
)
FetchContent_MakeAvailable(influxdblptool)
```
Expand All @@ -79,6 +80,7 @@ include(FetchContent)
FetchContent_Declare(
influxdblptool
GIT_REPOSITORY https://github.com/crosscode-nl/influxdblptool
GIT_TAG v2.0.0
)
FetchContent_MakeAvailable(influxdblptool)
target_link_libraries(example influxdblptool)
Expand Down Expand Up @@ -131,7 +133,7 @@ target_compile_features(example PUBLIC cxx_std_17)
To use an installed library you just have to add:

```cmake
find_package(InfluxDBLPTool 1.1.0 REQUIRED)
find_package(InfluxDBLPTool 2.0.0 REQUIRED)
target_link_libraries(example InfluxDBLPTool::influxdblptool)
```

Expand All @@ -144,7 +146,7 @@ project(example)
add_executable(example main.cpp)
target_compile_features(example PUBLIC cxx_std_17)
find_package(InfluxDBLPTool 1.1.0 REQUIRED)
find_package(InfluxDBLPTool 2.0.0 REQUIRED)
target_link_libraries(example InfluxDBLPTool::influxdblptool)
```

Expand Down

0 comments on commit 90985a0

Please sign in to comment.