Skip to content

Commit

Permalink
Set correct C++ standard for Windows wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Aug 1, 2024
1 parent d398edb commit 17d9917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def extra_compile_args():
compiler = get_default_compiler()

if compiler == "msvc":
extra_compile_args = ["/GR", "/FD", "/Zm250", "/EHsc", "/bigobj"]
extra_compile_args = ["/GR", "/FD", "/Zm250", "/EHsc", "/bigobj", "/std:c++17"]

if "QL_STATIC_RUNTIME" in os.environ:
extra_compile_args.append("/MT")
Expand Down
2 changes: 1 addition & 1 deletion Python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def extra_compile_args():
compiler = get_default_compiler()

if compiler == "msvc":
extra_compile_args = ["/GR", "/FD", "/Zm250", "/EHsc", "/bigobj"]
extra_compile_args = ["/GR", "/FD", "/Zm250", "/EHsc", "/bigobj", "/std:c++17"]

if "QL_STATIC_RUNTIME" in os.environ:
extra_compile_args.append("/MT")
Expand Down

0 comments on commit 17d9917

Please sign in to comment.