Commit 249019ee authored by Stephen Kelly's avatar Stephen Kelly Committed by The Qt Project
Browse files

Don't test linguist macros if cross compiling.


linguist tools are not bootstrapped.

Change-Id: Iae6b577db17be788a04036a06238191aa6896c01
Reviewed-by: default avatarRohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: default avatarStephen Kelly <stephen.kelly@kdab.com>
parent 39087d9d
No related merge requests found
Showing with 3 additions and 1 deletion
...@@ -29,7 +29,9 @@ find_package(Qt5Core REQUIRED) ...@@ -29,7 +29,9 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}") include("${_Qt5CTestMacros}")
expect_pass(test_translation_macros) if(NOT CMAKE_CROSSCOMPILING)
expect_pass(test_translation_macros)
endif()
find_package(Qt5Widgets) find_package(Qt5Widgets)
if (Qt5Widgets_FOUND) if (Qt5Widgets_FOUND)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment