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

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 12:56:53 PST 2024


================
@@ -258,6 +258,37 @@ if(LLVM_HAS_LOGF128)
   set(LLVM_HAS_LOGF128 "${HAS_LOGF128}")
 endif()
 
+# Check for ICU.
+if(LLVM_ENABLE_ICU)
+  set(LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
+  set(CMAKE_FIND_LIBRARY_SUFFIXES ".so")
----------------
abhina-sree wrote:

I hope to support as many platforms as possible. Would adding the `.dll` suffix to this list allow us to take advantage of the Windows SDK?

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


More information about the llvm-commits mailing list