I'm working on revising the fmtlog CMakeLists.txt to work when calling FetchContent from another parent CMake project. This allows people working with CMake to not have to know about git submodules when building a fresh project that has fmtlog as a dependency.
This mainly involves having fmtlog call FetchContent on fmtlib, to not build the tests when being built as a subproject, and to optionally build either the static or shared libraries.
I'm working on revising the fmtlog CMakeLists.txt to work when calling FetchContent from another parent CMake project. This allows people working with CMake to not have to know about git submodules when building a fresh project that has fmtlog as a dependency.
This mainly involves having fmtlog call FetchContent on fmtlib, to not build the tests when being built as a subproject, and to optionally build either the static or shared libraries.
Would you like a PR once it's cleaned up?