-
Create a build directory (easiest way with VS it to Generate - it will fail but that is normal).
-
Run conan. For instance:
conan install ..\..\.. -s build_type=Debug
.
Adjust build_type toRelease
if needed. -
Generate as usual.
If cmake does not find packages by itself, use-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
-
Install libfmt. It is a regular CMake project, the normal
mkdir build && cd build && cmake .. && cmake --build .. && cmake --install ..
will work. Maybe add a-DCMAKE_INSTALL_PREFIX
to install it somewhere useful. -
Add the install path of libfmt to
-DCMAKE_PREFIX_PATH
.