We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab54768 commit 06b27deCopy full SHA for 06b27de
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