cpp-ipfs-http-client icon indicating copy to clipboard operation
cpp-ipfs-http-client copied to clipboard

#include <nlohmann/adl_serializer.hpp> not installed

Open Lecrapouille opened this issue 3 years ago • 0 comments

Install the project... -- Install configuration: "" -- Installing: /usr/local/lib/libipfs-http-client.a -- Installing: /usr/local/include/ipfs/client.h -- Installing: /usr/local/include/ipfs/http/transport.h -- Installing: /usr/local/include/nlohmann/json.hpp

But nlohmann/adl_serializer.hpp is not copied while present in ./build/_deps/json-src/include/nlohmann/adl_serializer.hpp

Therefore this exemple https://github.com/vasild/cpp-ipfs-http-client#usage does not compile: #include <nlohmann/adl_serializer.hpp> not found

Same for the whole folder. Edit: -I ./build/_deps/json-src/include/ fixing my compilation issue but this line:

install(FILES ${json_SOURCE_DIR}/include/nlohmann/json.hpp DESTINATION include/nlohmann)

should be fixed

Lecrapouille avatar Apr 09 '22 22:04 Lecrapouille