Merge pull request #3704 from lioncash/fmt

externals: Update fmt to 6.2.0
This commit is contained in:
bunnei 2020-04-17 19:47:30 -04:00 committed by GitHub
commit fd7dc7e03d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -16,11 +16,11 @@ add_library(catch-single-include INTERFACE)
target_include_directories(catch-single-include INTERFACE catch/single_include)
# libfmt
pkg_check_modules(FMT IMPORTED_TARGET GLOBAL fmt>=6.1.0)
pkg_check_modules(FMT IMPORTED_TARGET GLOBAL fmt>=6.2.0)
if (FMT_FOUND)
add_library(fmt::fmt ALIAS PkgConfig::FMT)
else()
message(STATUS "fmt 6.1.0 or newer not found, falling back to externals")
message(STATUS "fmt 6.2.0 or newer not found, falling back to externals")
add_subdirectory(fmt)
add_library(fmt::fmt ALIAS fmt)
endif()

2
externals/fmt vendored

@ -1 +1 @@
Subproject commit 4b8f8fac96a7819f28f4be523ca10a2d5d8aaaf2
Subproject commit 9bdd1596cef1b57b9556f8bef32dc4a32322ef3e