summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-25 13:47:01 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-27 08:42:42 +0000
commit7bed351c6c19cb6cd2b1ef8cf2695e1a120ab2c3 (patch)
tree438cb3170350cdf64fbf0975d1fc09b96899f92e
parent981cfe7d79b906090fb20558a6f11bc2224640ed (diff)
Fix run_pro2cmake only_qtbase_main_modules option
There was a missing f prefix for the f-string, and thus no replacements were done. Change-Id: If778d4ce25905c302de22a76c27af00a63f3c515 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rwxr-xr-xutil/cmake/run_pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/run_pro2cmake.py b/util/cmake/run_pro2cmake.py
index 16ad0534cd..cb7181449a 100755
--- a/util/cmake/run_pro2cmake.py
+++ b/util/cmake/run_pro2cmake.py
@@ -110,7 +110,7 @@ def find_all_pro_files(base_path: str, args: argparse.Namespace):
"concurrent",
"xml",
]
- path_suffixes = ["src/{m}/{m}.pro" for m in main_modules]
+ path_suffixes = [f"src/{m}/{m}.pro" for m in main_modules]
for path_suffix in path_suffixes:
if path.endswith(path_suffix):