mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-15 07:28:28 +00:00
Merge pull request #252 from aclysma/ignore-c-linkage-warning
Disable return-type-c-linkage warning
This commit is contained in:
commit
54bbee6035
@ -30,6 +30,8 @@ fn main() -> io::Result<()> {
|
||||
.define("CIMGUI_NO_EXPORT", None)
|
||||
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
|
||||
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
|
||||
|
||||
build.flag_if_supported("-Wno-return-type-c-linkage");
|
||||
for path in &CPP_FILES {
|
||||
assert_file_exists(path)?;
|
||||
build.file(path);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user