From 35b0417fbe7fb870826dcd034f98d1054c858b3f Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Fri, 22 Nov 2024 12:09:48 +0200 Subject: [PATCH] Update CMakeLists.txt comment --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0ffca49f..7e7a2e854 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -274,9 +274,9 @@ if(MSVC) target_compile_options(spdlog PRIVATE "/Zc:__cplusplus") target_compile_options(spdlog_header_only INTERFACE "/Zc:__cplusplus") if(SPDLOG_MSVC_UTF8) - # fmt requires the /utf-8 flag with huilding with msvc. + # fmt requires the /utf-8 flag when building with msvc. # see https://github.com/fmtlib/fmt/pull/4159 on why the additional - # "$<$,$>" are needed + # "$<$,$>" checks are needed target_compile_options(spdlog PUBLIC $<$,$>:/utf-8>) target_compile_options(spdlog_header_only INTERFACE $<$,$>:/utf-8>) endif()