mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-23 19:38:27 +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("CIMGUI_NO_EXPORT", None)
|
||||||
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
|
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
|
||||||
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
|
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
|
||||||
|
|
||||||
|
build.flag("-Wno-return-type-c-linkage");
|
||||||
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…
x
Reference in New Issue
Block a user