Files
MapLibreParticleLab/platform/qt/scripts/configure_Qt5_Linux.sh
2022-09-13 21:55:16 +02:00

18 lines
350 B
Bash
Executable File

#!/bin/bash
if [[ -z ${1+x} ]]; then
echo "Error: Pass the path to maplibre-gl-native as first argument" 1>&2
exit 1
fi
if [[ -z ${2+x} ]]; then
echo "Error: Pass the install prefix as the second argument" 1>&2
exit 2
fi
cmake "$1" \
-G Ninja \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DMBGL_WITH_QT=ON \
-DCMAKE_INSTALL_PREFIX="$2"