summaryrefslogtreecommitdiff
path: root/azure-pipelines
diff options
context:
space:
mode:
authorglx22 <glx@openttd.org>2020-06-07 16:11:36 +0200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-08 09:49:26 +0100
commit0b86bd8b03a333b2c0a1900901c3535a188e475d (patch)
treeccd000bccf721034263e0429154dcea8233bba86 /azure-pipelines
parent1e01982a2e36b532d0bdf3768827eb7233b0ecee (diff)
downloadopenttd-0b86bd8b03a333b2c0a1900901c3535a188e475d.tar.xz
Fix: CMake option values should be ON/OFF
Diffstat (limited to 'azure-pipelines')
-rw-r--r--azure-pipelines/templates/release.yml2
-rw-r--r--azure-pipelines/templates/windows-build.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines/templates/release.yml b/azure-pipelines/templates/release.yml
index 8a666ad5a..f6a00b7cf 100644
--- a/azure-pipelines/templates/release.yml
+++ b/azure-pipelines/templates/release.yml
@@ -91,7 +91,7 @@ jobs:
VcpkgTargetTriplet: $(VcpkgTargetTriplet)
BuildConfiguration: 'RelWithDebInfo'
${{ if eq(parameters.IsStableRelease, true) }}:
- OptionUseNSIS: "YES"
+ OptionUseNSIS: "ON"
- task: VSBuild@1
displayName: 'Create bundles'
inputs:
diff --git a/azure-pipelines/templates/windows-build.yml b/azure-pipelines/templates/windows-build.yml
index 07e42a7ce..ae3b89414 100644
--- a/azure-pipelines/templates/windows-build.yml
+++ b/azure-pipelines/templates/windows-build.yml
@@ -2,7 +2,7 @@ parameters:
BuildArch: ''
VcpkgTargetTriplet: ''
BuildConfiguration: ''
- OptionUseNSIS: 'NO'
+ OptionUseNSIS: 'OFF'
steps:
- task: CMake@1