From 6c13a6c775d855882a243c60e6380d9116c66846 Mon Sep 17 00:00:00 2001 From: nyyakko Date: Sat, 6 Jan 2024 22:05:05 -0300 Subject: [PATCH] ftxui_set_options: bug! should use quotes for string comparasions. --- cmake/ftxui_set_options.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/ftxui_set_options.cmake b/cmake/ftxui_set_options.cmake index b4d68eaf..9b546962 100644 --- a/cmake/ftxui_set_options.cmake +++ b/cmake/ftxui_set_options.cmake @@ -45,7 +45,8 @@ function(ftxui_set_options library) # Force Microsoft Visual Studio to decode sources files in UTF-8. This applies # to the library and the library users. - if (CMAKE_CXX_COMPILER_ID STREQUAL MSVC) + + if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") target_compile_options(${library} PUBLIC "/utf-8") endif()