Skip to content

Commit

Permalink
pass std=c++14 for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Dec 4, 2023
1 parent 0ba84a5 commit 473164f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maple2jax/libxc/build.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ cc_library(
name = "{{ src }}c.obj",
srcs = ["src_cc/{{ src }}c"],
features = ["windows_export_all_symbols"],
copts = select({
"@platforms//os:windows": [],
"//conditions:default": ["-std=c++14"],
}),
deps = [
":xc_inc",
":register",
Expand Down

0 comments on commit 473164f

Please # to comment.