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
f4f9432232
commit
5703f03c59
@ -76,7 +76,10 @@ mkdir -p "$BUILDDIR"
|
|||||||
(
|
(
|
||||||
CRSSYNC_BIN=$(readlink -f "$SRCDIR")/build/output/bin/crssync
|
CRSSYNC_BIN=$(readlink -f "$SRCDIR")/build/output/bin/crssync
|
||||||
cd "$BUILDDIR"
|
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 \
|
-DCMAKE_CROSS_COMPILING=1 \
|
||||||
-DUSE_CCACHE=ON \
|
-DUSE_CCACHE=ON \
|
||||||
-DCMAKE_BUILD_TYPE=$buildtype \
|
-DCMAKE_BUILD_TYPE=$buildtype \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user