Skip to content

Commit

Permalink
Fix build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Mar 4, 2025
1 parent 62ac678 commit 2b283d1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2646,12 +2646,9 @@
<istrue value="${skip.installer}"/>
</or>
</condition>
</target>

<target name="-installer-set-properties-2"
depends="-installer-set-properties-1"
if="nsis.executable.unix">
<exec executable="${nsis.executable.unix}" outputproperty="nsis.executable.unix.version">
<exec executable="${nsis.executable.unix}"
osfamily="unix"
outputproperty="nsis.executable.unix.version">
<arg value="-VERSION"/>
</exec>
<condition property="nsis.executable.unix.version.ok">
Expand All @@ -2676,7 +2673,7 @@ To skip building the Windows installer, set the skip.installer property in build
</target>

<target name="-installer-check-version"
depends="-installer-set-properties-2"
depends="-installer-set-properties-1"
unless="${nsis.executable.unix.version.ok}">
<fail message="An executable makensis was found at: ${nsis.executable.unix}
with version [${nsis.executable.unix.version}] but version [v${nsis.version}] is required
Expand Down

0 comments on commit 2b283d1

Please sign in to comment.