mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 16:21:12 +08:00
ftxui_set_options: bug! should use quotes for string comparasions.
This commit is contained in:
parent
0997bcb583
commit
6c13a6c775
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user