summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-09-11 09:19:33 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-09-11 17:11:02 +0200
commitdad9550305831784f124c44d08e1e20983415bda (patch)
tree6c6416789e16a595c4375df45dcf103e84f0dbfe /bin
parent6fa33ee92c6e1f330e37b69ca2265bfa2a8a7d8f (diff)
CMake: Fix running qt-configure-module.bat without arguments
We need to make sure to create a config.opt file, even if it's empty. Change-Id: If1e41cea2f3b5f3ce67f30285b77c58f7376546a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'bin')
-rw-r--r--bin/qt-configure-module.bat.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/qt-configure-module.bat.in b/bin/qt-configure-module.bat.in
index fa49723741..48fbcceae5 100644
--- a/bin/qt-configure-module.bat.in
+++ b/bin/qt-configure-module.bat.in
@@ -17,6 +17,7 @@ if not exist "%module_root%\CMakeLists.txt" (
)
if exist "config.opt" del "config.opt"
+echo. > "config.opt"
set first_iteration=indeed
for %%a in (%*) do (
if defined first_iteration (