# Installation

> CMake names the headers ustore::header, which holds the include paths of c/ and include/ and links the header targets of ForkUnion, SmashTable and StringZilla, plus the include paths of yyjson and fmt.

b6b12730

### Getting Them

CMake names the headers `ustore::header`, which holds the include paths of `c/` and `include/` and links the header targets of ForkUnion, SmashTable and StringZilla, plus the include paths of yyjson and fmt. It lives in the build tree alone, since no install ships the siblings it includes, so a program using the templates vendors UStore through `FetchContent`:

```cmake
FetchContent_Declare(ustore GIT_REPOSITORY https://github.com/unum-cloud/UStore.git GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(ustore)
target_link_libraries(your_target PRIVATE ustore::header)
```

Headers that call ForkUnion’s C ABI, such as `ram_buffers.hpp` and `ram_device.hpp`, also need `forkunion::static` or `ustore::static` at link time. `docs/json_paths.hpp` calls StringZilla’s dispatched kernels, which its header-only build answers with `sz_missing_library_k`, so it resolves nothing without `stringzilla::static` or `ustore::static`, and its callers fall back to yyjson.
