summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2021-01-07 05:49:51 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-01-07 06:12:25 (GMT)
commit0a30c51a49fa5372eddd858d77b906f7e16986d2 (patch)
tree1646f21444723b759a533d8ea1086b71daabbf49
parentf5ad9468f71f46395309ce50bb198b6af4943f87 (diff)
downloadmxe-0a30c51a49fa5372eddd858d77b906f7e16986d2.zip
mxe-0a30c51a49fa5372eddd858d77b906f7e16986d2.tar.gz
mxe-0a30c51a49fa5372eddd858d77b906f7e16986d2.tar.bz2
Add detection of --install to cmake wrapper.
-rw-r--r--src/cmake/conf/target-cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/conf/target-cmake.in b/src/cmake/conf/target-cmake.in
index a78bcf5..05d8feb 100644
--- a/src/cmake/conf/target-cmake.in
+++ b/src/cmake/conf/target-cmake.in
@@ -6,7 +6,7 @@ echo "== Using MXE wrapper: @PREFIX@/bin/@TARGET@-cmake"
POLICIES=(0017,0020)
unset NO_MXE_TOOLCHAIN
-if echo -- "$@" | grep -Ewq "(--build|-E|--system-information)" ; then
+if echo -- "$@" | grep -Ewq "(--build|--install|-E|--system-information)" ; then
NO_MXE_TOOLCHAIN=1
fi
if [[ "$NO_MXE_TOOLCHAIN" == "1" ]]; then