aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-04-23 20:52:33 +0200
committer GitHub <noreply@github.com>2023-04-23 20:52:33 +0200
commit7f433fe019310ecfd1d1c46afd97cbfcb210c88f (patch)
tree60971db586e78761341f2b48110d149b1ba0db9d /SConstruct
parentc041b291c887db90a4e1112ffdd1e56865c27b13 (diff)
parentd3f3187209cb4085f27f95ce8ad2a77af25704fd (diff)
Merge pull request #94 from OpenVic2Project/province-buildings
Province buildings
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 4e6fe70..3213efd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -10,6 +10,12 @@ ARGUMENTS.pop('intermediate_delete', True)
env = SConscript("godot-cpp/SConstruct")
+# Require C++20
+if env.get("is_msvc", False):
+ env.Replace(CXXFLAGS=["/std:c++20"])
+else:
+ env.Replace(CXXFLAGS=["-std=c++20"])
+
ARGUMENTS = SAVED_ARGUMENTS
# Custom options and profile flags.