aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtWidgets/typesystem_widgets.xml.in
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-02-13 17:21:32 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-02-20 13:10:04 +0000
commit3ee37ddd84a40e543f30b4a33efc728b9979f709 (patch)
tree5e0052064bc8b25bb8d9d90c1c9998d9428002a6 /sources/pyside2/PySide2/QtWidgets/typesystem_widgets.xml.in
parent793320f9f991bab254c1d447104afdd817551267 (diff)
Fix MACOSX_DEPLOYMENT_TARGET being set by distutils.spawn()
Even though a user might specify a CMAKE_OSX_DEPLOYMENT_TARGET value, this will not automatically set the regular MACOSX_DEPLOYMENT_TARGET environment variable, which is picked up by the compiler to decide which standard library to use. Because CMake is invoked via run_process -> distutils.spawn(), spawn might decide to set its own value of MACOSX_DEPLOYMENT_TARGET. That is undesirable. Make sure to always specify the environment variable based on given value, or current OS version. (cherry picked from commit 6945dfb657a17fd66fd547e086c6fa9c76f06074) Change-Id: I7f2dcc546c447d30fc1585cda220e3437cee9491 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets/typesystem_widgets.xml.in')
0 files changed, 0 insertions, 0 deletions