Add comment to VCPKG_INSTALL_ROOT path extraction.

This commit is contained in:
Julian Groß 2023-07-29 20:21:52 +02:00
parent 27e60ca27d
commit e6e214d1e6
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ fi
if [ ! "$OVERTE_USE_SYSTEM_QT" ]; then if [ ! "$OVERTE_USE_SYSTEM_QT" ]; then
QT5_LIBS=`realpath ~/overte-files/qt/qt5-install/lib` QT5_LIBS=`realpath ~/overte-files/qt/qt5-install/lib`
fi fi
# The regex below extracts the path from the VCPKG_INSTALL_ROOT variable. Said variable gets populated during the CMake step.
VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'` VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'`
sudo apt-get install chrpath binutils dh-make sudo apt-get install chrpath binutils dh-make

View file

@ -10,6 +10,7 @@ fi
if [ "$OVERTE_USE_SYSTEM_QT" = "" ]; then if [ "$OVERTE_USE_SYSTEM_QT" = "" ]; then
QT5_LIBS=`realpath ~/overte-files/qt/qt5-install/lib` QT5_LIBS=`realpath ~/overte-files/qt/qt5-install/lib`
fi fi
# The regex below extracts the path from the VCPKG_INSTALL_ROOT variable. Said variable gets populated during the CMake step.
VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'` VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'`
VERSION=${RPMVERSION} VERSION=${RPMVERSION}