I am trying to build the project while using conan. However I am not sure how should I do it correctly. I am familiar with how conan works with CMake generators (CMakeDeps and CMakeToolchain) in their most recent reincarnation, but it seems the project uses the "older" conan support for CMake. Simply running
will generate the conan files into the project folder, but then choosing the x64 Debug build from CMakePresets.json insists on downloading the nlohmann_json library into the build folder anyway. (While it is already present in local .conan cache and correctly identifid by conan install).
I am using Visual Studio 2022 and its IDE support for CMake. I had to downgrade the CMakePresets.json version to 5 as it does not support 6, but appart from the problem described above did not notice any issue. Is version 6 necessary?
I am trying to build the project while using
conan
. However I am not sure how should I do it correctly. I am familiar with howconan
works withCMake
generators (CMakeDeps
andCMakeToolchain
) in their most recent reincarnation, but it seems the project uses the "older"conan
support forCMake
. Simply runningwill generate the conan files into the project folder, but then choosing the
x64 Debug
build fromCMakePresets.json
insists on downloading thenlohmann_json
library into the build folder anyway. (While it is already present in local.conan
cache and correctly identifid byconan install
).I am using Visual Studio 2022 and its IDE support for
CMake
. I had to downgrade theCMakePresets.json
version to 5 as it does not support 6, but appart from the problem described above did not notice any issue. Is version 6 necessary?