Skip to content

Commit

Permalink
CMake: Fix running qt-configure-module.bat without arguments
Browse files Browse the repository at this point in the history
We need to make sure to create a config.opt file, even if it's empty.

Change-Id: If1e41cea2f3b5f3ce67f30285b77c58f7376546a
Reviewed-by: Kai Koehne <[email protected]>
  • Loading branch information
jobor committed Sep 11, 2020
1 parent 6fa33ee commit dad9550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/qt-configure-module.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit dad9550

Please sign in to comment.