diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-10-22 09:32:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-22 22:42:22 +0200 |
commit | 6fe8a3d5a1c1f2b963fe25e9032b562f6c6467e6 (patch) | |
tree | 4bebdd99b0fda69ef648b8367013c3ea46934ebc /mkspecs/hpuxi-g++-64/qmake.conf | |
parent | 4dbf60d672a24a56e830654c386517b71d83bf85 (diff) |
CMake: Make qt5_use_modules a macro, not a function.
Because qt5_use_modules is a function that does a find package which
finds imported targets, things like this:
qt5_use_modules(foo Sql)
if (TARGET Qt5::Sql)
message("Qt5Sql_FOUND: ${Qt5Sql_FOUND}")
endif()
will show Qt5Sql as being not found, even though the target is in scope.
Fix that by making it a macro instead.
Change-Id: If314bd5b4d3f769c6c7df5ff2c924eabd16dcc0e
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'mkspecs/hpuxi-g++-64/qmake.conf')
0 files changed, 0 insertions, 0 deletions