diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-05-14 14:33:15 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-20 15:20:26 +0200 |
commit | c2f2c8a4e725249d29df73eed7af726c7a5db592 (patch) | |
tree | 0a51c0dee18592dd57d538abf300205fc8b32a01 /src/corelib/Qt5Config.cmake.in | |
parent | 0feb1aadfdd0654f17b523035e57ddf35efd11cf (diff) |
Check that files we expect to find actually exist when using a cmake package.
Change-Id: If7c724daa85df5e29e410b8deb4e69beb43ee8ea
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/Qt5Config.cmake.in')
-rw-r--r-- | src/corelib/Qt5Config.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/Qt5Config.cmake.in b/src/corelib/Qt5Config.cmake.in index a7e9a042e8..a872d0e917 100644 --- a/src/corelib/Qt5Config.cmake.in +++ b/src/corelib/Qt5Config.cmake.in @@ -41,3 +41,5 @@ if (_Qt5_NOTFOUND_MESSAGE) set(Qt5_NOT_FOUND_MESSAGE \"${_Qt5_NOTFOUND_MESSAGE}\") set(Qt5_FOUND False) endif() + +_qt5_Core_check_file_exists(\"${CMAKE_CURRENT_LIST_DIR}/Qt5ConfigVersion.cmake\") |