mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Workaround for mingw build
This commit is contained in:
parent
28c72ed9d0
commit
2805975ef0
@ -76,7 +76,10 @@ mkdir -p "$BUILDDIR"
|
||||
(
|
||||
CRSSYNC_BIN=$(readlink -f "$SRCDIR")/build/output/bin/crssync
|
||||
cd "$BUILDDIR"
|
||||
mingw$bits-cmake \
|
||||
rpm --eval "%{mingw64_cmake}" > mingw64-cmake.sh
|
||||
sed -i -e 's/%__cmake/cmake/' mingw64-cmake.sh
|
||||
chmod +x mingw64-cmake.sh
|
||||
./mingw$bits-cmake.sh \
|
||||
-DCMAKE_CROSS_COMPILING=1 \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DCMAKE_BUILD_TYPE=$buildtype \
|
||||
|
Loading…
x
Reference in New Issue
Block a user