diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 12b52a6c18..f2d5c7562d 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3913,6 +3913,10 @@ def write_plugin(cm_fh, scope, *, indent: int = 0) -> str: if "static" in scope.get("CONFIG"): extra.append("STATIC") + plugin_extends = scope.get_string("PLUGIN_EXTENDS") + if plugin_type != "platform" and plugin_extends == "-": + extra.append("DEFAULT_IF FALSE") + forward_target_info(scope, extra) write_main_part( |