diff --git a/RecastDemo/premake5.lua b/RecastDemo/premake5.lua index 70fa34fd..f2e47545 100644 --- a/RecastDemo/premake5.lua +++ b/RecastDemo/premake5.lua @@ -58,7 +58,7 @@ project "DebugUtils" language "C++" cppdialect "C++98" kind "StaticLib" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } includedirs { "../DebugUtils/Include", "../Detour/Include", @@ -74,7 +74,7 @@ project "Detour" language "C++" cppdialect "C++98" kind "StaticLib" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } includedirs { "../Detour/Include" } @@ -93,7 +93,7 @@ project "DetourCrowd" language "C++" cppdialect "C++98" kind "StaticLib" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } includedirs { "../DetourCrowd/Include", "../Detour/Include", @@ -108,7 +108,7 @@ project "DetourTileCache" language "C++" cppdialect "C++98" kind "StaticLib" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } includedirs { "../DetourTileCache/Include", "../Detour/Include", @@ -123,7 +123,7 @@ project "Recast" language "C++" cppdialect "C++98" kind "StaticLib" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } includedirs { "../Recast/Include" } @@ -224,7 +224,7 @@ project "Tests" language "C++" cppdialect "C++20" -- Catch requires newer C++ features kind "ConsoleApp" - fatalwarnings { "All" } + flags { "FatalCompileWarnings" } -- Catch requires RTTI and exceptions exceptionhandling "On"