mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
feat(Deps/Fmt): update to 8.1.1. Fix build with c++20 (#10489)
* feat(Deps/Fmt): update to 8.1.1 * FMT_CONSTEVAL
This commit is contained in:
5
deps/fmt/CMakeLists.txt
vendored
5
deps/fmt/CMakeLists.txt
vendored
@@ -59,6 +59,11 @@ if (HAVE_STRTOD_L)
|
||||
FMT_LOCALE)
|
||||
endif()
|
||||
|
||||
# Define FMT_CONSTEVAL for current using in c++20
|
||||
target_compile_definitions(fmt
|
||||
PUBLIC
|
||||
FMT_CONSTEVAL=)
|
||||
|
||||
target_include_directories(fmt
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
Reference in New Issue
Block a user