File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ jobs:
104104 - name : Run
105105 env :
106106 ICU_INCLUDE_DIRS : ${{matrix.brew_prefix}}/icu4c/include
107+ ICU_ROOT : ${{matrix.brew_prefix}}/icu4c
107108 LDFLAGS : " ${{env.LDFLAGS}} "
108109 CC : " ${{matrix.brew_prefix}}/llvm@${{env.LLVM_VERSION}}/bin/clang"
109110 CXX : " ${{matrix.brew_prefix}}/llvm@${{env.LLVM_VERSION}}/bin/clang++"
Original file line number Diff line number Diff line change @@ -209,6 +209,10 @@ if (DEFINED ENV{ICU_INCLUDE_DIRS})
209209 set (ICU_INCLUDE_DIRS "$ENV{ICU_INCLUDE_DIRS} " CACHE "" INTERNAL FORCE)
210210endif ()
211211
212+ if (DEFINED ENV{ICU_ROOT})
213+ set (ICU_ROOT "$ENV{ICU_ROOT} " CACHE PATH "" FORCE)
214+ endif ()
215+
212216find_package (ICU 70.1 REQUIRED COMPONENTS data i18n uc)
213217
214218if (APPLE )
You can’t perform that action at this time.
0 commit comments