aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-06 11:07:19 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-06 12:53:21 +0000
commit4205f6b65e10ad0707fc8f667f7b0f1349a28c93 (patch)
tree72fe2b609016b419986560cff560e46ddb9c027c
parent8b4a74f26efd42da77276e2b767c3bb656f9fcd1 (diff)
Fix cmake argument for standalone macOS
The command --build doesn't properly work when trying to do a standalone invocation, and complains that it's an unknown argument, since that's meant to invoke a build with ninja, make, etc, and not to get information related the path of libraries, -B should be used instead. Fixes: PYSIDE-1556 Change-Id: I4e64477032beba75c1210cb29093465f1c85bb6c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 58ac9b4ca4e67db1480c03f3fc84948d2dcb793f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--build_scripts/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index b2d0be565..9e898987d 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -1015,7 +1015,7 @@ class PysideBuild(_build, DistUtilsCommandMixin):
OPTION["CMAKE"],
"-L", # Lists variables
"-N", # Just inspects the cache (faster)
- "--build", # Specifies the build dir
+ "-B", # Specifies the build dir
self.shiboken_build_dir
]
out = run_process_output(cmake_cmd)