Merge pull request #516 from kiwix/fix_win_debug_build

This commit is contained in:
Matthieu Gautier 2022-02-14 15:39:05 +01:00 committed by GitHub
commit c079d04e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ cd kiwix-desktop
echo "Running qmake" echo "Running qmake"
SET _WITH_CONSOLE=1 SET _WITH_CONSOLE=1
IF %KIWIX_DESKTOP_RELEASE% EQU 1 ( IF %KIWIX_DESKTOP_RELEASE% EQU 1 (
IF %APPVEYOR_REPO_TAG%==true ( IF %APPVEYOR_REPO_TAG% == true (
SET _WITH_CONSOLE=0 SET _WITH_CONSOLE=0
) )
) )
IF %_WITH_CONSOLE% EQU 1 ( IF %_WITH_CONSOLE% EQU 1 (
C:\Qt\5.15\msvc2019_64\bin\qmake.exe "CONFIG+=static console" || exit /b 1 C:\Qt\5.15\msvc2019_64\bin\qmake.exe "CONFIG+=static console" || exit /b 1
) else ( ) else (
C:\Qt\5.15\msvc2019_64\bin\qmake.exe "CONFIG+=static" || exit /b 1 C:\Qt\5.15\msvc2019_64\bin\qmake.exe "CONFIG+=static" || exit /b 1