summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-29 15:20:31 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-31 12:40:47 +0100
commita5257b83df4eeb0c0feec84edd9892c90d8601b1 (patch)
tree12afa0ea7d6148a80dc17a76006d6a960f4906db /tests/auto
parent20381aa770eb11e2c470ec99b4d42841e0abf6d2 (diff)
CMake: Test module includes
Change-Id: Ie02cabb3081be394242f8d1fa06ecf7946c4bdc0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/cmake/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 4f15a69e..183b7670 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -10,3 +10,9 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
expect_pass(test_modules)
+
+set(Qt5_MODULE_TEST_DEPENDS Script Widgets)
+
+test_module_includes(
+ Declarative QDeclarativeEngine
+)