Skip to content

Commit 99df3ee

Browse files
authored
Merge pull request #4 from Partur-dev/main
Fix Linux and MacOS build
2 parents abb25ca + 0a5742c commit 99df3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def compilePyBroma():
3131
# extra_link_args=[],
3232
# We need this to be /std:c++17 on windows otherwise compilation will break due to the existance of "std::variant"
3333
extra_compile_args=[
34-
"/O2",
35-
("/std:c++17" if sys.platform == "win32" else "--std:c++17"),
34+
("/O2" if sys.platform == "win32" else "-O2"),
35+
("/std:c++17" if sys.platform == "win32" else "--std=c++17"),
3636
],
3737
)
3838
]

0 commit comments

Comments
 (0)