Merge branch 'master' of github.com:fmtlib/fmt

This commit is contained in:
Victor Zverovich 2024-06-09 13:17:31 -07:00
commit 6ceef04dfe

View File

@ -350,8 +350,8 @@ add_library(fmt::fmt-header-only ALIAS fmt-header-only)
if (MSVC AND FMT_UNICODE)
# Unicode support requires compiling with /utf-8.
target_compile_options(fmt PUBLIC /utf-8)
target_compile_options(fmt-header-only INTERFACE /utf-8)
target_compile_options(fmt PUBLIC $<$<COMPILE_LANGUAGE:CXX>:/utf-8>)
target_compile_options(fmt-header-only INTERFACE $<$<COMPILE_LANGUAGE:CXX>:/utf-8>)
endif ()
target_compile_definitions(fmt-header-only INTERFACE FMT_HEADER_ONLY=1)