getml / reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
https://getml.github.io/reflect-cpp/
MIT License
821 stars 66 forks source link

JSON-only build does not work without installing vcpkg #52

Closed liuzicheng1987 closed 5 months ago

liuzicheng1987 commented 6 months ago

The JSON-only build does not work if you haven't installed vcpkg. You get error messages like this:

CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:130 (message):
  Could not find toolchain file:
  /home/ubuntu/reflect-cpp/vcpkg/scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
  CMakeLists.txt:15 (project)