update README add with cmake

This commit is contained in:
veselypeta 2021-09-16 14:34:05 +01:00
parent 2dfc7499a3
commit e5530febe7

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 ...)