Merge pull request #3 from benmkw/master
specify cpp standard to compiler
This commit is contained in:
commit
c0070bda38
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ fn main() -> io::Result<()> {
|
||||||
|
|
||||||
// Taken from the imgui-sys build as well
|
// Taken from the imgui-sys build as well
|
||||||
build.flag_if_supported("-Wno-return-type-c-linkage");
|
build.flag_if_supported("-Wno-return-type-c-linkage");
|
||||||
|
build.flag_if_supported("-std=c++11");
|
||||||
for path in CPP_FILES {
|
for path in CPP_FILES {
|
||||||
assert_file_exists(path)?;
|
assert_file_exists(path)?;
|
||||||
build.file(path);
|
build.file(path);
|
||||||
|
|
Loading…
Reference in a new issue