From effcd12c4a8f33a0f8d6eb9ee234b617596e3219 Mon Sep 17 00:00:00 2001 From: Pete Bentley <44170157+prbprbprb@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:39:25 +0000 Subject: [PATCH] C++ standards should apply to all platforms..... (#1283) Fixes CI. --- constants/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/constants/build.gradle b/constants/build.gradle index 40a744536..8f6c4593f 100644 --- a/constants/build.gradle +++ b/constants/build.gradle @@ -36,6 +36,7 @@ model { binaries.all { if (toolChain in VisualCpp) { cppCompiler.define "WIN32_LEAN_AND_MEAN" + cppCompiler.args "/std:c++17" } else if (toolChain in Clang || toolChain in Gcc) { cppCompiler.args "-std=c++17" }