diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-16 13:12:10 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-16 13:12:10 +0200 |
commit | 3bb86f1e01e275245d137377a001cb9d7508886d (patch) | |
tree | 7760f73a5d719d5b359277dbc07e143130888008 /SConstruct | |
parent | 9bc489eb2a16af262fcf86c07dfa0161ac12d616 (diff) | |
download | redot-cpp-3bb86f1e01e275245d137377a001cb9d7508886d.tar.gz |
Use C++17 flag only for C++ files.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -170,9 +170,9 @@ if host_platform == "windows" and env["platform"] != "android": # Require C++17 if host_platform == "windows" and env["platform"] == "windows" and not env["use_mingw"]: # MSVC - env.Append(CCFLAGS=["/std:c++17"]) + env.Append(CXXFLAGS=["/std:c++17"]) else: - env.Append(CCFLAGS=["-std=c++17"]) + env.Append(CXXFLAGS=["-std=c++17"]) if env["target"] == "debug": env.Append(CPPDEFINES=["DEBUG_ENABLED", "DEBUG_METHODS_ENABLED"]) |