From 284c9ff00fcf3b558029f3a2ffa3b097f04df208 Mon Sep 17 00:00:00 2001 From: Scott M Anderson Date: Fri, 10 Apr 2026 16:55:29 -0600 Subject: [PATCH] cmake: fix utf-8 target_compile_options previous commit https://github.com/externpro/spdlog/commit/fbd4ccb93196442959fb977a39210b51fcb2496f --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42d85f616..5da0b432b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -304,8 +304,8 @@ if(MSVC) # "$<$,$>" # which has been removed because generator expressions aren't supported by CPS # see fmt issue https://github.com/externpro/fmt/issues/35 for explanation - target_compile_options(spdlog PUBLIC /utf-8) - target_compile_options(spdlog_header_only INTERFACE /utf-8) + target_compile_options(spdlog PUBLIC "/utf-8") + target_compile_options(spdlog_header_only INTERFACE "/utf-8") endif() endif()