Only download Gtk on Windows
This commit is contained in:
parent
81fae5eea6
commit
dfc9980f58
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
<GtkDir Condition=" '$(GtkDir)' == '' ">$(LOCALAPPDATA)\Gtk\3.24</GtkDir>
|
<GtkDir Condition=" '$(GtkDir)' == '' ">$(LOCALAPPDATA)\Gtk\3.24</GtkDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="InstallGtk" BeforeTargets="Build" Condition=" '$(SkipGtkInstall)' != 'True' and !Exists('$(GtkDir)/libgtk-3-0.dll') ">
|
<Target Name="InstallGtk" BeforeTargets="Build" Condition=" '$(SkipGtkInstall)' != 'True' and '$(OS)' == 'Windows_NT' and !Exists('$(GtkDir)/libgtk-3-0.dll') ">
|
||||||
<Message Importance="High" Text="Gtk has not been detected, downloading and installing it, set SkipGtkInstall to True to skip theese steps."/>
|
<Message Importance="High" Text="Gtk has not been detected, downloading and installing it, set SkipGtkInstall to True to skip theese steps."/>
|
||||||
<Message Importance="High" Text="Ignore Gtk extract errors, bug msbuild/issues/3884"/>
|
<Message Importance="High" Text="Ignore Gtk extract errors, bug msbuild/issues/3884"/>
|
||||||
<MakeDir Directories="$(GtkDir)"/>
|
<MakeDir Directories="$(GtkDir)"/>
|
||||||
|
|
Loading…
Reference in a new issue