From 585c41db9c08b7b6ff9ecb3807a0fdc6f1daef15 Mon Sep 17 00:00:00 2001 From: Scott M Anderson Date: Fri, 10 Apr 2026 16:53:52 -0600 Subject: [PATCH] cmake: fix utf-8 target_compile_options previous commit https://github.com/externpro/fmt/commit/08a3b6632ad4a6fbbf1d20232636b4c5b9ceada2 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0138d34671c3..31a440386912 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -368,8 +368,8 @@ if (NOT MSVC) # Unicode is always supported on compilers other than MSVC. elseif (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 "/utf-8") + target_compile_options(fmt-header-only INTERFACE "/utf-8") else () target_compile_definitions(fmt PUBLIC FMT_UNICODE=0) endif ()