From 4a181f683965f83252c3993f7500bd79b1cd76ae Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Thu, 3 Oct 2024 18:38:01 +0300 Subject: [PATCH] Fix compilation issues --- Source/Engine/Platform/CreateWindowSettings.h | 2 +- Source/Tools/Flax.Build/Deps/Dependencies/NvCloth.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Platform/CreateWindowSettings.h b/Source/Engine/Platform/CreateWindowSettings.h index 4b712dfcb..2df533b7c 100644 --- a/Source/Engine/Platform/CreateWindowSettings.h +++ b/Source/Engine/Platform/CreateWindowSettings.h @@ -147,7 +147,7 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(CreateWindowSettings); /// /// True if it's a regular window, false for tooltips, context menu and other utility windows. /// - API_FIELD() DEPRECATED bool IsRegularWindow = true; + API_FIELD() DEPRECATED("Use Type instead") bool IsRegularWindow = true; /// /// The type of window. The type affects the behaviour of the window in system level. diff --git a/Source/Tools/Flax.Build/Deps/Dependencies/NvCloth.cs b/Source/Tools/Flax.Build/Deps/Dependencies/NvCloth.cs index 699e40f72..545ef7169 100644 --- a/Source/Tools/Flax.Build/Deps/Dependencies/NvCloth.cs +++ b/Source/Tools/Flax.Build/Deps/Dependencies/NvCloth.cs @@ -195,7 +195,7 @@ namespace Flax.Deps.Dependencies RunCmake(cmakeFolder, platform, architecture, " -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF " + cmakeArgs, envVars); // Run build - BuildCmake(cmakeFolder, envVars); + BuildCmake(cmakeFolder, envVars: envVars); // Deploy binaries var libs = new[]