From a851257c493cc7adc54953d5609c0a85e0ef3ce3 Mon Sep 17 00:00:00 2001 From: Gelldur Date: Thu, 22 Feb 2024 16:11:53 +0400 Subject: [PATCH] Update README.md (#222) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3b8f3f..629e777 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ cpp = 17 Reading it in C++ is easy with toml++: ```cpp -#include +#include auto config = toml::parse_file( "configuration.toml" ); @@ -169,6 +169,7 @@ FetchContent_Declare( GIT_TAG v3.4.0 ) FetchContent_MakeAvailable(tomlplusplus) +# Example add library: target_link_libraries(MyApp tomlplusplus::tomlplusplus) ``` > ℹ️ _[What is FetchContent?](https://cmake.org/cmake/help/latest/module/FetchContent.html)_