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:
parent
6fa33ee92c
commit
dad9550305
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user