Merge pull request #137 from veselypeta/readme-cmake

update README add with cmake
This commit is contained in:
Tristan Penman 2021-09-17 09:24:26 +10:00 committed by GitHub
commit 9a2ebbdec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ git submodule add https://github.com/tristanpenman/valijson third-party/valijson
Before the target add the module subdirectory in your CMakeLists.txt
```cmake
set(valijson_BUILD_TESTS OFF)
set(valijson_BUILD_TESTS OFF CACHE BOOL "don't build valijson tests")
add_subdirectory(third-party/valijson)
add_executable(your-executable ...)