ftxui_set_options: properly check the current compiler.

This commit is contained in:
nyyakko 2024-01-06 20:49:56 -03:00
parent d0634e1ca0
commit 0997bcb583

View File

@ -45,7 +45,7 @@ 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 (MSVC)
if (CMAKE_CXX_COMPILER_ID STREQUAL MSVC)
target_compile_options(${library} PUBLIC "/utf-8")
endif()