diff options
author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-05-06 11:07:19 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-06 12:51:43 +0000 |
commit | 25d26714d8309134e0c73dbe9b7b72f107eedce3 (patch) | |
tree | bd06c808ffdfa57d9a8cf70cae56e65dc250f0c5 | |
parent | d13e18612244863d109a95ce945036b7af4da70c (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.py | 2 |
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) |