summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-09-25 10:49:06 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-26 08:19:33 +0200
commit249019ee0f0f453b05089fb25a48a13970bd0e60 (patch)
tree480bfd1388625e776739fc58e0a6ad7dd6d1df59 /tests/auto/cmake
parent39087d9d7383108bbf62f837e9eaa5ee8413a97e (diff)
Don't test linguist macros if cross compiling.
linguist tools are not bootstrapped. Change-Id: Iae6b577db17be788a04036a06238191aa6896c01 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/cmake')
-rw-r--r--tests/auto/cmake/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index c60829c33..2ec3aeac4 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -29,7 +29,9 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
-expect_pass(test_translation_macros)
+if(NOT CMAKE_CROSSCOMPILING)
+ expect_pass(test_translation_macros)
+endif()
find_package(Qt5Widgets)
if (Qt5Widgets_FOUND)