mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 02:32:46 +01:00
Merge pull request #3704 from lioncash/fmt
externals: Update fmt to 6.2.0
This commit is contained in:
commit
fd7dc7e03d
2 changed files with 3 additions and 3 deletions
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)
|
target_include_directories(catch-single-include INTERFACE catch/single_include)
|
||||||
|
|
||||||
# libfmt
|
# 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)
|
if (FMT_FOUND)
|
||||||
add_library(fmt::fmt ALIAS PkgConfig::FMT)
|
add_library(fmt::fmt ALIAS PkgConfig::FMT)
|
||||||
else()
|
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_subdirectory(fmt)
|
||||||
add_library(fmt::fmt ALIAS fmt)
|
add_library(fmt::fmt ALIAS fmt)
|
||||||
endif()
|
endif()
|
||||||
|
|
2
externals/fmt
vendored
2
externals/fmt
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 4b8f8fac96a7819f28f4be523ca10a2d5d8aaaf2
|
Subproject commit 9bdd1596cef1b57b9556f8bef32dc4a32322ef3e
|
Loading…
Reference in a new issue