-
-
Save Ventero/daddf23b2ed9fa65d2f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 6580d71d45ee Otter/Otter.csproj | |
--- a/Otter/Otter.csproj Sun Feb 09 23:49:08 2014 -0700 | |
+++ b/Otter/Otter.csproj Sun Apr 13 23:33:56 2014 +0200 | |
@@ -35,7 +35,11 @@ | |
</DocumentationFile> | |
</PropertyGroup> | |
<PropertyGroup> | |
- <DefineConstants>$(DefineConstants);$(OS)</DefineConstants> | |
+ <OperatingSystem>$(OS)</OperatingSystem> | |
+ <OperatingSystem Condition=" '$(OS)' == 'Unix' And Exists('/Library') ">OSX</OperatingSystem> | |
+ </PropertyGroup> | |
+ <PropertyGroup> | |
+ <DefineConstants>$(OperatingSystem);$(DefineConstants)</DefineConstants> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL"> | |
@@ -161,17 +165,17 @@ | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</Content> | |
</ItemGroup> | |
- <ItemGroup Condition=" '$(OS)' == 'Windows_NT' "> | |
+ <ItemGroup Condition=" '$(OperatingSystem)' == 'Windows_NT' "> | |
<Libs Include="csfml-audio-2.dll" /> | |
<Libs Include="csfml-graphics-2.dll" /> | |
<Libs Include="csfml-window-2.dll" /> | |
</ItemGroup> | |
- <ItemGroup Condition=" '$(OS)' == 'OSX' "> | |
+ <ItemGroup Condition=" '$(OperatingSystem)' == 'OSX' "> | |
<Libs Include="libosx/libcsfml-audio.2.0.dylib" /> | |
<Libs Include="libosx/libcsfml-graphics.2.0.dylib" /> | |
<Libs Include="libosx/libcsfml-window.2.0.dylib" /> | |
</ItemGroup> | |
- <ItemGroup Condition=" '$(OS)' != 'Windows_NT' "> | |
+ <ItemGroup Condition=" '$(OperatingSystem)' != 'Windows_NT' "> | |
<Libs Include="sfmlnet-audio-2.dll.config" /> | |
<Libs Include="sfmlnet-graphics-2.dll.config" /> | |
<Libs Include="sfmlnet-window-2.dll.config" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment