mirror of
https://github.com/json-c/json-c.git
synced 2026-03-24 23:49:06 +08:00
Fix cmake-configure to accept "--prefix=<foo>" in addition to "--prefix <foo>" (see also Issue #591)
This commit is contained in:
@@ -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)
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user