mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0026942: Training material are not built on OCCT installed after building by cmake procedure
Environment variable QT_DIR was renamed to QTDIR.
This commit is contained in:
@@ -10,8 +10,8 @@ if [ -e "${aSamplePath}/../../../env.sh" ]; then
|
||||
source "${aSamplePath}/../../../env.sh";
|
||||
fi
|
||||
|
||||
if test "${QT_DIR}" == ""; then
|
||||
echo "Environment variable \"QT_DIR\" not defined. Define it in \"custom.sh\" script."
|
||||
if test "${QTDIR}" == ""; then
|
||||
echo "Environment variable \"QTDIR\" not defined. Define it in \"custom.sh\" script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -19,4 +19,4 @@ host=`uname -s`
|
||||
export STATION=$host
|
||||
export RES_DIR=${aSamplePath}/${STATION}/res
|
||||
|
||||
export PATH=${QT_DIR}/bin:${PATH}
|
||||
export PATH=${QTDIR}/bin:${PATH}
|
||||
|
Reference in New Issue
Block a user