From 710d7e2555185b867158788df73a2e387efe8cbb Mon Sep 17 00:00:00 2001 From: KeviM Date: Sat, 26 Sep 2026 00:50:03 -0700 Subject: [PATCH] docs: install from vcpkg vcpkg now ships a kalshi-cpp port (microsoft/vcpkg#54107). Tell readers they can add it to vcpkg.json and get the same kalshi::kalshi target. --- CHANGELOG.md | 5 +++++ README.md | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc42ea..ca9f410 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added + +- vcpkg has a `kalshi-cpp` port. Add it to `vcpkg.json` and use + `find_package(kalshi CONFIG REQUIRED)`; the README shows how. + ## [0.6.2] - 2026-09-25 ### Fixed diff --git a/README.md b/README.md index 18f2de5..78ea849 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,11 @@ FetchContent_MakeAvailable(kalshi) target_link_libraries(myapp PRIVATE kalshi::kalshi) ``` -After `cmake --install`, `find_package(kalshi CONFIG REQUIRED)` provides the -same target. Until 1.0, a minor release may break the API. -[CHANGELOG.md](CHANGELOG.md) has migration notes. +Or add `kalshi-cpp` to your `vcpkg.json`, and [vcpkg](https://vcpkg.io) builds +it along with OpenSSL, libcurl, and libwebsockets, so you can skip the package +installs above. vcpkg and `cmake --install` both provide the same target through +`find_package(kalshi CONFIG REQUIRED)`. Until 1.0, a minor release may break +the API. [CHANGELOG.md](CHANGELOG.md) has migration notes. ## Read market data