mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-01 02:58:12 +08:00 
			
		
		
		
	ftxui_set_options: properly check the current compiler. (#802)
This solve the issue encountered when using clang under MSVC.
This commit is contained in:
		| @@ -45,7 +45,7 @@ function(ftxui_set_options library) | |||||||
|  |  | ||||||
|   # Force Microsoft Visual Studio to decode sources files in UTF-8. This applies |   # Force Microsoft Visual Studio to decode sources files in UTF-8. This applies | ||||||
|   # to the library and the library users. |   # to the library and the library users. | ||||||
|   if (MSVC) |   if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") | ||||||
|     target_compile_options(${library} PUBLIC "/utf-8") |     target_compile_options(${library} PUBLIC "/utf-8") | ||||||
|   endif() |   endif() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nyako
					nyako