forked from teamnwah/openmw-tes3coop
try using the powershell trick from AnyOldName3
This commit is contained in:
parent
3379eafd33
commit
63bbc77ee7
1 changed files with 7 additions and 3 deletions
|
@ -413,15 +413,19 @@ fi
|
||||||
if [ -z $APPVEYOR ]; then
|
if [ -z $APPVEYOR ]; then
|
||||||
cd $DEPS_INSTALL
|
cd $DEPS_INSTALL
|
||||||
|
|
||||||
|
# Boost's installer is still based on ms-dos API that doesn't support larger than 260 char path names
|
||||||
|
# We work around this by installing to root of the current working drive and then move it to our deps
|
||||||
|
|
||||||
BOOST_SDK="$(real_pwd)/Boost"
|
BOOST_SDK="$(real_pwd)/Boost"
|
||||||
|
CWD_DRIVE_ROOT=`powershell -command '(get-location).Drive.Root'` # get the current working drive's root
|
||||||
|
|
||||||
if [ -d Boost ] && grep "BOOST_VERSION 106100" Boost/boost/version.hpp > /dev/null; then
|
if [ -d Boost ] && grep "BOOST_VERSION 106100" Boost/boost/version.hpp > /dev/null; then
|
||||||
printf "Exists. "
|
printf "Exists. "
|
||||||
elif [ -z $SKIP_EXTRACT ]; then
|
elif [ -z $SKIP_EXTRACT ]; then
|
||||||
rm -rf Boost
|
rm -rf Boost
|
||||||
REAL_TEMP_PATH=`cd ${TMP} && pwd -W`
|
"${DEPS}/boost-1.61.0-msvc${MSVC_YEAR}-win${BITS}.exe" //DIR="${CWD_DRIVE_ROOT}\Boost" //VERYSILENT //NORESTART //SUPPRESSMSGBOXES //LOG="boost_install.log"
|
||||||
"${DEPS}/boost-1.67.0-msvc${MSVC_YEAR}-win${BITS}.exe" //DIR="${REAL_TEMP_PATH}\boost" //VERYSILENT //NORESTART //SUPPRESSMSGBOXES //LOG="boost_install.log"
|
mv "${CWD_DRIVE_ROOT}\Boost" ${BOOST_SDK}
|
||||||
mv "${REAL_TEMP_PATH}/boost" ${BOOST_SDK}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_cmake_opts -DBOOST_ROOT="$BOOST_SDK" \
|
add_cmake_opts -DBOOST_ROOT="$BOOST_SDK" \
|
||||||
|
|
Loading…
Reference in a new issue