Skip to content

Commit

Permalink
flag_if_supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Feb 4, 2024
1 parent 1114e2e commit 0d044b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/cxx-qt-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ impl CxxQtBuilder {
builder.flag_if_supported("-std=c++17");
// MinGW requires big-obj otherwise debug builds fail
builder.flag_if_supported("-Wa,-mbig-obj");
builder.flag_if_supported("-mmacosx-version-min=10.15");
// Enable Qt Gui in C++ if the feature is enabled
#[cfg(feature = "qt_gui")]
builder.define("CXX_QT_GUI_FEATURE", None);
Expand Down

0 comments on commit 0d044b7

Please sign in to comment.