Require CMake 2.8.9 for the qt5_use_modules function.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 2 Aug 2012 08:07:19 +0000 (10:07 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Aug 2012 19:57:47 +0000 (21:57 +0200)
commit79a7e6f23b9412d281f2c4957be39b656f78fe1e
treec443f31b6c86811f88d2eddbec8cc79a0bbbc489
parent06ca4e38cf52e5c5ddad8497fa72d2d28d81b2a9
Require CMake 2.8.9 for the qt5_use_modules function.

The newer CMake version has the POSITION_INDEPENDENT_CODE property which is
what we need here. The CMake 2.8.8 implementation uses awkward and incomplete
string manipulation which I don't want to maintain for any amount of time
when Qt 5.0 is released.

Change-Id: If7ace9c6925ccdbf800f1863fa2368e55fa44d7f
Reviewed-by: Brad King <brad.king@kitware.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/Qt5CoreMacros.cmake
tests/auto/cmake/CMakeLists.txt