mirror of
https://github.com/MariaDB/server.git
synced 2025-08-16 18:19:41 +00:00
MDEV-34528: bundle fmt version 11.0.0
Numerous fixes included from upstream. /utf8 needed for Windows, but may as well enable globally.
This commit is contained in:
@ -15,8 +15,8 @@ MACRO(BUNDLE_LIBFMT)
|
||||
ExternalProject_Add(
|
||||
libfmt
|
||||
PREFIX "${dir}"
|
||||
URL "https://github.com/fmtlib/fmt/archive/refs/tags/8.0.1.zip"
|
||||
URL_MD5 e77873199e897ca9f780479ad68e25b1
|
||||
URL "https://github.com/fmtlib/fmt/archive/refs/tags/11.0.0.zip"
|
||||
URL_MD5 f690d14b38d0fa473ea414ecf4e9c1a2
|
||||
INSTALL_COMMAND ""
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND ""
|
||||
|
@ -273,6 +273,7 @@ IF(MSVC)
|
||||
STRING(APPEND CMAKE_CXX_FLAGS_RELEASE " /d2OptimizeHugeFunctions")
|
||||
STRING(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO " /d2OptimizeHugeFunctions")
|
||||
ENDIF()
|
||||
ADD_COMPILE_OPTIONS($<$<COMPILE_LANGUAGE:C,CXX>:/utf-8>)
|
||||
ENDIF()
|
||||
|
||||
# Always link with socket/synchronization libraries
|
||||
|
Reference in New Issue
Block a user