We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab54768 + 06b27de commit edf6e75Copy full SHA for edf6e75
lightgbm-sys/build.rs
@@ -58,6 +58,11 @@ fn main() {
58
.clang_args(&["-x", "c++", "-std=c++11"])
59
.clang_arg(format!("-I{}", lgbm_root.join("include").display()));
60
61
+ #[cfg(target_os = "linux")]
62
+ let bindings = bindings
63
+ .clang_arg(format!("-I/usr/include/c++/11"))
64
+ .clang_arg(format!("-I/usr/include/x86_64-linux-gnu/c++/11"));
65
+
66
#[cfg(feature = "cuda")]
67
let bindings = bindings.clang_arg("-I/usr/local/cuda/include");
68
0 commit comments