diff --git a/azure-pipelines-windows-template.yml b/azure-pipelines-windows-template.yml index 62c25660..fd830f8b 100644 --- a/azure-pipelines-windows-template.yml +++ b/azure-pipelines-windows-template.yml @@ -28,7 +28,7 @@ jobs: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\${{ parameters.vc_vars }}" set PATH=%PATH%;C:\Qt\Qt${{ parameters.qt_version }}\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin set DEFINES_VAR=DEFINES+="BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"" - qmake CONFIG+="7zip" %DEFINES_VAR% + qmake -spec ${{ parameters.qt_spec }} CONFIG+="7zip" %DEFINES_VAR% nmake displayName: 'Build' - script: |