aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-05-06 11:07:19 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-01-05 12:12:01 +0100
commit209d9ff229bd6870d7f684dad0495ef7bde5b75c (patch)
tree2e1fefd6f3661a2a85a7f5d17e561189390efb0c /build_scripts
parentf3771d4e83a72a56c1516fbd2c19c46084ee3d8c (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: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts')
-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 461e5a712..c7e67ac12 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -1056,7 +1056,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)