Fixed EngineInstalled

This commit is contained in:
crazytuzi committed 2024-06-01 15:32:25 +08:00
1 parent 5226f599d0
commit d8e4f8fab2
1 file changed
+2 -1
+2 -1
View File
@@ -48,7 +48,8 @@ public class Mono : ModuleRules
PublicAdditionalLibraries.Add(Path.Combine(PlatformLibraryPath,
"monosgen-2.0.lib"));
RuntimeDependencies.Add("$(TargetOutputDir)/coreclr.dll",
RuntimeDependencies.Add(
Target.bIsEngineInstalled ? "$(BinaryOutputDir)/coreclr.dll" : "$(TargetOutputDir)/coreclr.dll",
Path.Combine(PlatformLibraryPath, "coreclr.dll"));
var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net"));