linux support

This commit is contained in:
Halvor Haukvik
2019-02-13 20:09:16 +01:00
parent b5f0a31fec
commit bdb793e07d
4 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ UE_LOG(LogTemp, Log, TEXT("ZeroMQ version: v%d.%d.%d), major, minor, patch);
## Support
* Windows (x64 and x86)
* Linux (maybe...)
* Linux
+4 -6
View File
@@ -35,7 +35,8 @@ public class ZeroMQ : ModuleRules
staticLibrary = Path.Combine(ZeroMQRootPath, "Windows", "x86", "libzmq-v141-mt-s-4_3_2.lib");
break;
case UnrealTargetPlatform.Linux:
staticLibrary = Path.Combine(ZeroMQRootPath, "Linux", "libzmq.a");
staticLibrary = Path.Combine(ZeroMQRootPath, "Linux", "libzmq.so");
PublicAdditionalLibraries.Add("stdc++");
break;
default:
Console.WriteLine("unsupported target platform: %s", Target.Platform);
@@ -43,11 +44,8 @@ public class ZeroMQ : ModuleRules
break;
}
if (Target.Configuration == UnrealTargetConfiguration.Development)
{
bEnableExceptions = true;
}
bEnableExceptions = true;
Console.WriteLine("Using ZeroMQ static library: {0}", staticLibrary);
PublicAdditionalLibraries.Add(staticLibrary);
}
Binary file not shown.
BIN
View File
Binary file not shown.