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>
This commit is contained in:
Joerg Bornemann 2020-09-11 09:19:33 +02:00
parent 6fa33ee92c
commit dad9550305

View File

@ -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 (