From d5e900f9b3c7c1c4a160924c7a1b0a609402621a Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Wed, 12 Jun 2024 23:47:50 +0100 Subject: [PATCH] Try this --- build/BuildWindowsTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/BuildWindowsTask.cs b/build/BuildWindowsTask.cs index a1b25f9..6a2e16d 100644 --- a/build/BuildWindowsTask.cs +++ b/build/BuildWindowsTask.cs @@ -10,7 +10,7 @@ public sealed class BuildWindowsTask : FrostingTask public override void Run(BuildContext context) { var buildWorkingDir = "basis_universal/"; - context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DSTATIC=ON -DSAN=ON CMakeLists.txt" }); + context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DSAN=ON CMakeLists.txt" }); context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "--build . --config release" }); var files = Directory.GetFiles(System.IO.Path.Combine (buildWorkingDir, "bin", "Release"), "basisu.exe", SearchOption.TopDirectoryOnly); context.CopyFile(files[0], $"{context.ArtifactsDir}/basisu.exe");