mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 05:28:35 +00:00
Use flag_if_supported instead of cpp_link_stdlib
This commit is contained in:
parent
e5d3490ce5
commit
f3e7958eb8
@ -41,7 +41,7 @@ fn main() -> std::io::Result<()> {
|
||||
build.cpp(true);
|
||||
|
||||
// imgui uses C++11 stuff from v1.87 onwards
|
||||
build.cpp_link_stdlib("c++11");
|
||||
build.flag_if_supported("-std=c++11");
|
||||
|
||||
// Set defines for compiler
|
||||
for (key, value) in DEFINES.iter() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user