mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-30 09:14:06 +08:00
Update CMakeLists.txt comment
This commit is contained in:
parent
633003f40a
commit
94526fa8e8
@ -274,9 +274,9 @@ if(MSVC)
|
|||||||
target_compile_options(spdlog PRIVATE "/Zc:__cplusplus")
|
target_compile_options(spdlog PRIVATE "/Zc:__cplusplus")
|
||||||
target_compile_options(spdlog_header_only INTERFACE "/Zc:__cplusplus")
|
target_compile_options(spdlog_header_only INTERFACE "/Zc:__cplusplus")
|
||||||
if(SPDLOG_MSVC_UTF8)
|
if(SPDLOG_MSVC_UTF8)
|
||||||
# fmt requires the /utf-8 flag with huilding with msvc.
|
# fmt requires the /utf-8 flag with huilding with msvc.
|
||||||
# see https://github.com/fmtlib/fmt/pull/4159 on why the additional
|
# see https://github.com/fmtlib/fmt/pull/4159 on why the additional
|
||||||
# "$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>" are needed
|
# "$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>" are needed
|
||||||
target_compile_options(spdlog PUBLIC $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/utf-8>)
|
target_compile_options(spdlog PUBLIC $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/utf-8>)
|
||||||
target_compile_options(spdlog_header_only INTERFACE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/utf-8>)
|
target_compile_options(spdlog_header_only INTERFACE $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/utf-8>)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user