mirror of
https://github.com/storytold/UnrealZeroMQ.git
synced 2026-10-09 00:09:43 +00:00
Monkey patch for Unreal Engine 4.25+
This commit is contained in:
@@ -25,7 +25,19 @@ public class ZeroMQ : ModuleRules
|
||||
// tell library that it is statically linked
|
||||
PublicDefinitions.Add("ZMQ_STATIC");
|
||||
|
||||
// NB(bt): This isn't compiling for Unreal Engine 4.25:
|
||||
// Error CS0151
|
||||
// A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type
|
||||
// c:\Users\echel\OneDrive\Documents\Unreal Projects\AzureKinect\Plugins\UnrealZeroMQ\Source\ZeroMQ\ZeroMQ.Build.cs 29
|
||||
//
|
||||
// I'll hardcode the results for Windows x64 for now.
|
||||
// Sorry for being a bad citizen to other platforms, especially Linux. :(
|
||||
|
||||
string staticLibrary = Path.Combine(ZeroMQRootPath, "Windows", "x64", "libzmq-v141-mt-s-4_3_2.lib");
|
||||
|
||||
/*
|
||||
string staticLibrary = "";
|
||||
|
||||
switch (Target.Platform)
|
||||
{
|
||||
case UnrealTargetPlatform.Win64:
|
||||
@@ -45,7 +57,7 @@ public class ZeroMQ : ModuleRules
|
||||
Console.WriteLine("unsupported target platform: %s", Target.Platform);
|
||||
Debug.Assert(false);
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
|
||||
bEnableExceptions = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user