spdlog/cmake
Carsten Neumann 084bc72d90 Fix handling of external fmt lib
Using an external fmt lib should cause the spdlog::spdlog target to have
a dependency on fmt lib - so that a consuming project does not need
to call find_package(fmt) and target_link_libraries(... fmt::fmt).

To this end a new cmake option SPDLOG_FMT_EXTERNAL is introduced which
makes spdlog depend on fmt lib and defines the SPDLOG_FMT_EXTERNAL macro
to avoid using the bundled fmt lib. The value of SPDLOG_FMT_EXTERNAL is
also stored in the installed spdlogConfig.cmake and if it is ON
find_dependency() is used to ensure the fmt::fmt target is imported.
2018-12-17 10:18:16 -06:00
..
Config.cmake.in Fix handling of external fmt lib 2018-12-17 10:18:16 -06:00
sanitizers.cmake Move tsan/asan flag management to cmake 2018-08-12 17:11:56 +02:00
spdlog.pc.in no streams 2016-07-08 17:50:13 +03:00