From 25d26714d8309134e0c73dbe9b7b72f107eedce3 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Thu, 6 May 2021 11:07:19 +0200 Subject: 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 (cherry picked from commit 58ac9b4ca4e67db1480c03f3fc84948d2dcb793f) Reviewed-by: Qt Cherry-pick Bot --- build_scripts/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3