Use directory property instead of variable to determine target existance.
authorStephen Kelly <stephen.kelly@kdab.com>
Sun, 13 May 2012 17:48:47 +0000 (19:48 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 14 May 2012 02:35:08 +0000 (04:35 +0200)
commit2b735ac8e6b36c66444986a381cc56cd65a2bf7c
tree876decf55ad9632e3d7cfe82626675f1562b54a7
parentc18a41197f5df3d66dccf86c176e5dd6fd01b163
Use directory property instead of variable to determine target existance.

This is more resilient to calling find_package in a scope such
as a function.

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