mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 19:45:34 +00:00
Only download Gtk on Windows
This commit is contained in:
parent
81fae5eea6
commit
dfc9980f58
|
@ -5,7 +5,7 @@
|
|||
<GtkDir Condition=" '$(GtkDir)' == '' ">$(LOCALAPPDATA)\Gtk\3.24</GtkDir>
|
||||
</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="Ignore Gtk extract errors, bug msbuild/issues/3884"/>
|
||||
<MakeDir Directories="$(GtkDir)"/>
|
||||
|
|
Loading…
Reference in a new issue