summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--configure.bat7
2 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 328a9e72e7..c104e2534a 100755
--- a/configure
+++ b/configure
@@ -558,6 +558,9 @@ while [ "$#" -gt 0 ]; do
cmake)
BUILD_WITH_CMAKE=yes
;;
+ qmake)
+ BUILD_WITH_CMAKE=no
+ ;;
redo)
if [ -f ${outpathPrefix}config.opt ]; then
if grep -e ^-cmake <${outpathPrefix}config.opt >/dev/null 2>&1; then
diff --git a/configure.bat b/configure.bat
index 8323f9ec85..d90ebd150d 100644
--- a/configure.bat
+++ b/configure.bat
@@ -100,6 +100,9 @@ goto doneargs
if /i "%~1" == "-cmake" goto cmake
if /i "%~1" == "--cmake" goto cmake
+ if /i "%~1" == "-qmake" goto qmake
+ if /i "%~1" == "--qmake" goto qmake
+
:nextarg
shift
goto doargs
@@ -152,6 +155,10 @@ goto doneargs
set CMAKE=true
goto nextarg
+:qmake
+ set CMAKE=
+ goto nextarg
+
:doneargs
if "%CMAKE%" == "true" goto cmake