mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-11 17:38:00 +08:00
Make sure we build for C++20
This commit is contained in:
1 parent
31ece1d62e
commit
013f48739c
1 file changed
+2
-2
+2
-2
@@ -102,7 +102,7 @@ class SDKConfig(object):
|
||||
]
|
||||
|
||||
cxx.cxxflags += [
|
||||
'-std=c++17'
|
||||
'-std=c++20'
|
||||
]
|
||||
|
||||
if builder.options.opt == '1':
|
||||
@@ -117,7 +117,7 @@ class SDKConfig(object):
|
||||
cxx.defines += ['COMPILER_MSVC64']
|
||||
|
||||
cxx.cxxflags += [
|
||||
'/std:c++17',
|
||||
'/std:c++20',
|
||||
'/WX'
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user