message: Use installed libs and headers for CesiumEditor
diff: @@ -18,21 +18,33 @@ public class CesiumEditor : ModuleRules
  PrivateIncludePaths.AddRange(
  new string[] {
  - "../extern/cesium-native/CesiumIonClient/include",
  + Path.Combine(ModuleDirectory, "../ThirdParty/include")
  }
  );
  - string cesiumNativeConfiguration = "Debug";
  - if (Target.Configuration == UnrealTargetConfiguration.Shipping)
  + string debugRelease = "";
  + if (Target.Configuration == UnrealTargetConfiguration.Debug || Target.Configuration == UnrealTargetConfiguration.DebugGame)
  {
  - cesiumNativeConfiguration = "RelWithDebInfo";
  + debugRelease = "-debug";
  }
  + else
  + {
  + debugRelease = "-release";
  + }
  +
  + string platform = Target.Platform == UnrealTargetPlatform.Win64
  + ? "-Windows-64"
  + : "-Unknown";
  +
  + string postfix = platform + debugRelease;
  +
  + string libPath = Path.Combine(ModuleDirectory, "../ThirdParty/lib");
  PublicAdditionalLibraries.AddRange(
  new string[]
  {
  - Path.Combine(ModuleDirectory, "../../extern/build/cesium-native/CesiumIonClient/" + cesiumNativeConfiguration + "/CesiumIonClient.lib"),
  - Path.Combine(ModuleDirectory, "../../extern/build/cesium-native/extern/" + cesiumNativeConfiguration + "/csprng.lib")
  + Path.Combine(libPath, "CesiumionClient" + cesiumNativeConfiguration + ".lib"),
  + Path.Combine(libPath, "csprng" + cesiumNativeConfiguration + ".lib"),
  }
  );
  