Closed ton closed 2 years ago
Thanks @ton , can you create a PR for this? (Please also include other third party dependencies which has similar lines in the CMake file.)
fix will be on master soon.
Thanks, I just wanted to start a pull request but you already fixed it, great!
When building from source on a machine that has an outdated version of
fmt
installed, the build fails for thespdlog_dependency
. I suspect the problem is that for thefmt
dependency, the build environment is updated with the path to the requiredfmt
version, but the compiler will still pick up thefmt
version installed on the system somehow.The following naïve patch fixes the issue for me; but there is probably a better way to fix this.