When I tried to build my project with targets at failed at link stage. Mylib has a dependency on fmt and spdlog conan packages.
This is how I setup conan: