From e5428c4093667e92557eca5204236e0362b60019 Mon Sep 17 00:00:00 2001 From: Benedikt Mandelkow Date: Sun, 11 Oct 2020 19:50:45 +0200 Subject: [PATCH] specify cpp standard to compiler --- implot-sys/build.rs | 1 + 1 file changed, 1 insertion(+) 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);