mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
Disable return-type-c-linkage warning
This commit is contained in:
parent
00a724283e
commit
9f914fc12d
@ -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("-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