diff --git a/implot-sys/build.rs b/implot-sys/build.rs index 0e8a4cf..a4a03f5 100644 --- a/implot-sys/build.rs +++ b/implot-sys/build.rs @@ -55,6 +55,7 @@ fn main() -> io::Result<()> { // Taken from the imgui-sys build as well build.flag_if_supported("-Wno-return-type-c-linkage"); + build.flag_if_supported("-std=c++11"); for path in CPP_FILES { assert_file_exists(path)?; build.file(path);