From f9605e9072383d9ac85e0fb5ecf8f3e44000ce1b Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 3 May 2020 03:50:16 +0000 Subject: [PATCH] Fix cmake-configure to accept "--prefix=" in addition to "--prefix " (see also Issue #591) --- cmake-configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake-configure b/cmake-configure index 7a06b66..2fcc39e 100755 --- a/cmake-configure +++ b/cmake-configure @@ -52,6 +52,9 @@ while [ $# -gt 0 ] ; do FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2") shift ;; + --prefix=*) + FLAGS+=(-DCMAKE_INSTALL_PREFIX="${1##--prefix=}") + ;; --enable-threading) FLAGS+=(-DENABLE_THREADING=ON) ;;