specify cpp standard to compiler

This commit is contained in:
Benedikt Mandelkow 2020-10-11 19:50:45 +02:00
parent 232cd6d095
commit e5428c4093

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