mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 22:36:39 +00:00
Added ICU runtime DLLs to Windows builds
This commit is contained in:
parent
9809b873a0
commit
165f146e69
1 changed files with 10 additions and 4 deletions
|
@ -1039,16 +1039,22 @@ echo
|
||||||
# ICU
|
# ICU
|
||||||
printf "ICU ${ICU_VER/_/.}... "
|
printf "ICU ${ICU_VER/_/.}... "
|
||||||
{
|
{
|
||||||
if [ -d ICU ]; then
|
if [ -d ICU-${ICU_VER} ]; then
|
||||||
printf "Exists. "
|
printf "Exists. "
|
||||||
elif [ -z $SKIP_EXTRACT ]; then
|
elif [ -z $SKIP_EXTRACT ]; then
|
||||||
rm -rf ICU
|
rm -rf ICU-${ICU_VER}
|
||||||
eval 7z x -y icu4c-${ICU_VER}-Win${BITS}-MSVC2019.zip -o$(real_pwd)/ICU $STRIP
|
eval 7z x -y icu4c-${ICU_VER}-Win${BITS}-MSVC2019.zip -o$(real_pwd)/ICU-${ICU_VER} $STRIP
|
||||||
fi
|
fi
|
||||||
export ICU_ROOT="$(real_pwd)/ICU"
|
export ICU_ROOT="$(real_pwd)/ICU-${ICU_VER}"
|
||||||
add_cmake_opts -DICU_INCLUDE_DIR="${ICU_ROOT}/include" \
|
add_cmake_opts -DICU_INCLUDE_DIR="${ICU_ROOT}/include" \
|
||||||
-DICU_LIBRARY="${ICU_ROOT}/lib${BITS}/icuuc.lib " \
|
-DICU_LIBRARY="${ICU_ROOT}/lib${BITS}/icuuc.lib " \
|
||||||
-DICU_DEBUG=ON
|
-DICU_DEBUG=ON
|
||||||
|
|
||||||
|
for config in ${CONFIGURATIONS[@]}; do
|
||||||
|
add_runtime_dlls $config "$(pwd)/ICU-${ICU_VER}/bin${BITS}/icudt${ICU_VER/_*/}.dll"
|
||||||
|
add_runtime_dlls $config "$(pwd)/ICU-${ICU_VER}/bin${BITS}/icuin${ICU_VER/_*/}.dll"
|
||||||
|
add_runtime_dlls $config "$(pwd)/ICU-${ICU_VER}/bin${BITS}/icuuc${ICU_VER/_*/}.dll"
|
||||||
|
done
|
||||||
echo Done.
|
echo Done.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue