Only find dependencies from the same Qt installation.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 10 May 2012 15:55:13 +0000 (17:55 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 13 May 2012 16:49:10 +0000 (18:49 +0200)
commitdd38ad600ff85f40dd33499f24c5b88541e2acf2
treef09a606e15ea15e4e7e611415c4d7aec220a31b4
parent5ab700f63993d616c37e0470c4aaeb80e7472cd9
Only find dependencies from the same Qt installation.

Add a PATH to search for dependencies in the current prefix, and
disable other CMake searching logic with NO_DEFAULT_PATH.

A Qt installation must all be installed to the same prefix currently.
If that constraint is ever relaxed, we can turn this into a hint instead.

Change-Id: I633cafb7e546dbd102ac0b2ed18db260d26adc51
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
mkspecs/cmake/Qt5BasicConfig.cmake.in