diff options
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-x | util/cmake/pro2cmake.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 7bc29990c5..e6ad26ad3c 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -2540,12 +2540,12 @@ def write_reduce_relocations_part(cm_fh: IO[str], target: str, scope: Scope, ind dynlist_file = scope.get_files("QMAKE_DYNAMIC_LIST_FILE") if dynlist_file: dynlist_path = "${CMAKE_CURRENT_LIST_DIR}/" + dynlist_file[0] - cm_fh.write(f'{ind}if(QT_FEATURE_reduce_relocations AND UNIX AND GCC)\n') + cm_fh.write(f"{ind}if(QT_FEATURE_reduce_relocations AND UNIX AND GCC)\n") ind = spaces(indent + 1) - cm_fh.write(f'{ind}target_link_options({target} PRIVATE\n') + cm_fh.write(f"{ind}target_link_options({target} PRIVATE\n") cm_fh.write(f'{ind} "LINKER:--dynamic-list={dynlist_path}")\n') ind = spaces(indent) - cm_fh.write(f'{ind}endif()\n') + cm_fh.write(f"{ind}endif()\n") def write_android_part(cm_fh: IO[str], target: str, scope: Scope, indent: int = 0): |