Merge pull request #3 from benmkw/master

specify cpp standard to compiler
This commit is contained in:
4bb4 2020-10-11 21:14:22 +02:00 committed by GitHub
commit c0070bda38
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);