Use the POSITION_INDEPENDENT_CODE property on targets using Qt.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 13 Jun 2012 20:26:30 +0000 (22:26 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 08:26:59 +0000 (10:26 +0200)
commitf9817dda5576db8709750cea7d799b1e5ea40ca0
tree403ee1280d48896706ef57223c4b2baf94019f6b
parent79b14f42ba2062252bad5e5ad7c7986b967f6f6a
Use the POSITION_INDEPENDENT_CODE property on targets using Qt.

This property is only set if Qt is configured
with -reduce-relocations (which is the default).

Change-Id: If2f0ab92448f03bbc3f7c828d3bca60107229072
Reviewed-by: Brad King <brad.king@kitware.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/Qt5CoreConfigExtras.cmake.in
src/corelib/Qt5CoreMacros.cmake