Skip to content

Commit c3fbb60

Browse files
Add "-allow-unsupported-compiler" for win (#755)
1 parent 600050a commit c3fbb60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_extensions():
8484
nvcc_flags += ["-diag-suppress", "20012,186"]
8585
extra_compile_args["nvcc"] = nvcc_flags
8686
if sys.platform == "win32":
87-
extra_compile_args["nvcc"] += ["-DWIN32_LEAN_AND_MEAN"]
87+
extra_compile_args["nvcc"] += ["-DWIN32_LEAN_AND_MEAN", "-allow-unsupported-compiler"]
8888

8989
current_dir = pathlib.Path(__file__).parent.resolve()
9090
glm_path = osp.join(current_dir, "gsplat", "cuda", "csrc", "third_party", "glm")

0 commit comments

Comments
 (0)