Merge pull request #3704 from lioncash/fmt
externals: Update fmt to 6.2.0
This commit is contained in:
commit
fd7dc7e03d
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
|
@ -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
2
externals/fmt
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 4b8f8fac96a7819f28f4be523ca10a2d5d8aaaf2
|
||||
Subproject commit 9bdd1596cef1b57b9556f8bef32dc4a32322ef3e
|
Loading…
Reference in a new issue