diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-10-10 17:02:59 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-11 09:23:13 +0000 |
commit | 1dd82a88438a8e76bc25c5ef122a3b6afa0bcbdf (patch) | |
tree | b392af402240ccff54c748fa8ff3f043faa86336 /util/cmake | |
parent | fd431fadc1a5af1bd3922f5148f39b574cf272f5 (diff) |
Add SKIP_INSTALL to add_qt_plugin()
Provide a SKIP_INSTALL argument to add_qt_plugin for test cases with
plugins lacking install information.
Change-Id: Iddb3843fab1790d69d64686530a46057a2ff0477
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index bcb145cb59..bf73c87e44 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -2828,6 +2828,8 @@ def write_plugin(cm_fh, scope, *, indent: int = 0) -> str: target_path = replace_path_constants(target_path, scope) if target_path: extra.append(f'INSTALL_DIRECTORY "{target_path}"') + else: + extra.append('SKIP_INSTALL') plugin_class_name = scope.get_string("PLUGIN_CLASS_NAME") if plugin_class_name: |