1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0031379: Configuration - using defined variable of THIRDPARTY_DIR

This commit is contained in:
nds 2020-02-18 08:07:07 +03:00 committed by bugmaster
parent 113bda7072
commit b3bf8485a2
2 changed files with 4 additions and 2 deletions

View File

@ -119,7 +119,7 @@ rem ----- For compatability with external application using CASROOT -----
if ["%CASROOT%"] == [""] set "CASROOT=%SCRIPTROOT%" if ["%CASROOT%"] == [""] set "CASROOT=%SCRIPTROOT%"
rem ----- Define path to 3rdparty products ----- rem ----- Define path to 3rdparty products -----
set "THIRDPARTY_DIR=@3RDPARTY_DIR@" if ["%THIRDPARTY_DIR%"] == [""] set "THIRDPARTY_DIR=@3RDPARTY_DIR@"
if ["%ARCH%"] == ["32"] set VCARCH=x86 if ["%ARCH%"] == ["32"] set VCARCH=x86
if ["%ARCH%"] == ["64"] set VCARCH=amd64 if ["%ARCH%"] == ["64"] set VCARCH=amd64

View File

@ -8,7 +8,9 @@ if [ "${CASROOT}" == "" ]; then
fi fi
# ----- Define path to 3rdparty products ----- # ----- Define path to 3rdparty products -----
export THIRDPARTY_DIR="@3RDPARTY_DIR@" if [ "${THIRDPARTY_DIR}" == "" ]; then
export THIRDPARTY_DIR="@3RDPARTY_DIR@"
fi
# ----- Read script arguments ----- # ----- Read script arguments -----
shopt -s nocasematch shopt -s nocasematch