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
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2021-05-06 10:42:35 +0000
commit58ac9b4ca4e67db1480c03f3fc84948d2dcb793f (patch)
tree31af03a5b4f095044a76c236c71d6b782cecc4a4 /build_scripts
parent57e681930f6b4c7c311fc70a66317ef64dee4cb1 (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 Pick-to: 6.1 6.1.0 Change-Id: I4e64477032beba75c1210cb29093465f1c85bb6c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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 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)