summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-11-01 09:40:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 16:25:39 +0100
commitd35c8fe52149f0adb7c81da804a5b98cc54a0abe (patch)
treed3e4f50f3bc30bdf6d06e4dc08cbb304e6c50b31 /configure
parentc982fa3666385e87d968a9f2cad70cd906a3749d (diff)
CMake: Add the qreal typedef type to the Qt5::Core target.
This way, a Qt compiled with qreal=float and one linked with qreal=double can not be linked by a single downstream. That is diagnosed at cmake-time. Change-Id: I9183dbcfef181fadea5321d3154948e8258e4a2a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 4adaa77403..81e2a93c28 100755
--- a/configure
+++ b/configure
@@ -6713,6 +6713,7 @@ host_build {
QT_CPU_FEATURES.$CFG_ARCH = $CFG_CPUFEATURES
}
EOF
+echo "QT_COORD_TYPE = $CFG_QREAL" >> "$QTMODULE.tmp"
if [ -n "$QT_CFLAGS_PSQL" ]; then
echo "QT_CFLAGS_PSQL = $QT_CFLAGS_PSQL" >> "$QTMODULE.tmp"