[llvm] Create a CharSetConverter class with both iconv and icu support (PR #74516)

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 10:50:51 PST 2025


================
@@ -552,6 +552,10 @@ else()
   option(LLVM_ENABLE_THREADS "Use threads if available." ON)
 endif()
 
+set(LLVM_ENABLE_ICU "ON" CACHE STRING "Use ICU for character conversion support if available. Can be ON, OFF, or FORCE_ON")
----------------
abhina-sree wrote:

Sorry, I missed the notification for these messages. I've added a small comment 
`# Check for builtin iconv to avoid licensing issues.` 

I'm ok to change the default to OFF if that is the general preference.

https://github.com/llvm/llvm-project/pull/74516


More information about the llvm-commits mailing list