Commit Graph

5 Commits (a08ffcff50dcc59bca6bc06bf5b2f125bc8c2d85)

Author SHA1 Message Date
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.
7 years ago
Daniel Chabrowski 49d663f6c8 Move tsan/asan flag management to cmake
Add sudo: required to fix asan builds
7 years ago
gabime 7885aa478c no streams 9 years ago
Nick White b7e3a103c3 Generate & Install pkg-config File 10 years ago
Ruslan Baratov c19d9759d5 Add CMake build 10 years ago