summaryrefslogtreecommitdiffstats
path: root/configure.bat
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-07-16 13:27:30 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-16 15:00:37 +0200
commit044cb3ce20c3b29c0bd441a0575fa05a8d48ebae (patch)
treed2db0f2d96b2d4703a5ca2ea6b746619d0e52944 /configure.bat
parentb2504af4da9d3c2c902a5c1221be3c076c4aff86 (diff)
CMake: Fix top-level configure
The working directory for CMake must be the top-level build dir, not the qtbase one. Change-Id: I1090aca8bf2617719e724f96b1fa356eb9fabb46 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.bat')
-rw-r--r--configure.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.bat b/configure.bat
index f5f4a2b4cc..4bb78f9069 100644
--- a/configure.bat
+++ b/configure.bat
@@ -315,4 +315,5 @@ if "%rargs%" == "" (
)
rem Launch CMake-based configure
-cmake -DOPTFILE="%TOPQTDIR%\config.opt" -P "%QTSRC%\cmake\QtProcessConfigureArgs.cmake"
+cd "%TOPQTDIR%"
+cmake -DOPTFILE=config.opt -P "%QTSRC%\cmake\QtProcessConfigureArgs.cmake"