summarylogtreecommitdiffstats
path: root/mingw-cmake.sh
diff options
context:
space:
mode:
authorMichel Zou2016-04-01 19:59:50 +0200
committerMichel Zou2016-04-01 19:59:50 +0200
commitd296029483383adea120174ae3329b1e841cf21b (patch)
treeaba997c7c888afea6f29cd3f2f44727f90628fb8 /mingw-cmake.sh
parentd96935ab5bfd6f442a7d420a8e5b428493047ec6 (diff)
downloadaur-d296029483383adea120174ae3329b1e841cf21b.tar.gz
set CMAKE_CROSSCOMPILING_EMULATOR in script rather than toolchain
Diffstat (limited to 'mingw-cmake.sh')
-rw-r--r--mingw-cmake.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mingw-cmake.sh b/mingw-cmake.sh
index a69ed384f559..6ff4e7b7619e 100644
--- a/mingw-cmake.sh
+++ b/mingw-cmake.sh
@@ -16,4 +16,5 @@ PATH=${mingw_prefix}/bin:$PATH cmake \
-DSHARE_INSTALL_DIR:PATH=${mingw_prefix}/share \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/toolchain-@TRIPLE@.cmake \
+ -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/@TRIPLE@-wine \
"$@"