tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
129 stars 18 forks source link

Remove dependency on Boost #137

Closed tgockel closed 4 years ago

tgockel commented 4 years ago

Builds are failing in Arch because the CMake config scripts bundled with Boost 1.71 changed something in some way to cause this:

CMake Error at /usr/lib64/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component):
  boost_find_component Macro invoked with incorrect arguments for macro
  named: boost_find_component

Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:157 (find_package)

Since this works on older versions of Boost, it is probably a Boost bug...but at the end of the day, these are the sorts of dependency/versioning problems nobody should have to care about.

Boost is currently only use in unit tests, and only for Boost.Filesystem, so this issue is blocked by #136, so we can just use the C++ Standard Library to replace that.