Prechádzať zdrojové kódy

HPCC-16814 move icui18n ahead of cuuc and icudata

xwang2713 8 rokov pred
rodič
commit
f95f248dba
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      cmake_modules/FindICU.cmake

+ 3 - 1
cmake_modules/FindICU.cmake

@@ -63,7 +63,9 @@ IF (NOT ICU_FOUND)
     ELSE()
       STRING(REPLACE "icuuc" "icuin" ICU_EXTRA1 "${ICU_LIBRARIES}")
     ENDIF()
-    set (ICU_LIBRARIES ${ICU_LIBRARIES} ${ICU_EXTRA1} ${ICU_EXTRA2} )
+    # The order is important for lib2 processing:
+    # depender, such as icuil8n, should be placed before the dependee
+    set (ICU_LIBRARIES ${ICU_EXTRA1} ${ICU_LIBRARIES} ${ICU_EXTRA2} )
   ENDIF()