taocpp / json

C++ header-only JSON library
MIT License
596 stars 87 forks source link

Can not use the installed json package #94

Closed ClausKlein closed 3 years ago

ClausKlein commented 3 years ago
cmake -B build -S . -G Ninja
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    /usr/local/share/taocpp-json/cmake/taocpp-json-config.cmake

  but it set taocpp-json_FOUND to FALSE so package "taocpp-json" is
  considered to be NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  taocpp::pegtl

-- Configuring incomplete, errors occurred!
d-frey commented 3 years ago

That should have been a comment on #93.