From 251b76ad92f4bd5d145b37ad0c5a71db279b0e7c Mon Sep 17 00:00:00 2001 From: Stephen Kelly <stephen.kelly@kdab.com> Date: Tue, 12 Mar 2013 11:06:20 +0100 Subject: [PATCH] Install the Qt5LinguistToolsConfigVersion.cmake file. Change-Id: I8f14f79c1e8e17816d63303f130773780547346a Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> --- src/linguist/linguist.pro | 2 +- tests/auto/cmake/test_translation_macros/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/linguist/linguist.pro b/src/linguist/linguist.pro index 04b0ab648..334aa1ad8 100644 --- a/src/linguist/linguist.pro +++ b/src/linguist/linguist.pro @@ -38,7 +38,7 @@ cmake_linguist_macros_file.output = $$eval(QT.uitools.libs)/cmake/Qt5LinguistToo cmake_linguist_macros_file.CONFIG = verbatim QMAKE_SUBSTITUTES += cmake_linguist_config_file cmake_linguist_config_version_file cmake_linguist_macros_file -cmake_linguist_tools_files.files += $$cmake_linguist_config_file.output $$cmake_linguist_macros_file.output +cmake_linguist_tools_files.files += $$cmake_linguist_config_file.output $$cmake_linguist_config_version_file.output $$cmake_linguist_macros_file.output cmake_linguist_tools_files.path = $$[QT_INSTALL_LIBS]/cmake/Qt5LinguistTools cmake_linguist_tools_files.CONFIG = no_check_exists INSTALLS += cmake_linguist_tools_files diff --git a/tests/auto/cmake/test_translation_macros/CMakeLists.txt b/tests/auto/cmake/test_translation_macros/CMakeLists.txt index f620059c3..14ecb40e3 100644 --- a/tests/auto/cmake/test_translation_macros/CMakeLists.txt +++ b/tests/auto/cmake/test_translation_macros/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 2.8) project(test_translation_macros) -find_package(Qt5Core REQUIRED) -find_package(Qt5LinguistTools REQUIRED) +find_package(Qt5Core 5.0.0 REQUIRED) +find_package(Qt5LinguistTools 5.0.0 REQUIRED) include_directories( ${Qt5Core_INCLUDE_DIRS} -- GitLab