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()