CMake: Add a test for module includes
authorStephen Kelly <stephen.kelly@kdab.com>
Fri, 19 Oct 2012 15:20:44 +0000 (17:20 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 29 Oct 2012 14:17:55 +0000 (15:17 +0100)
Change-Id: Ie9fd7929c1ea22f8acf51bafce64ade74d51a00e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/cmake/CMakeLists.txt

index 4f15a69..43f826d 100644 (file)
@@ -10,3 +10,10 @@ find_package(Qt5Core REQUIRED)
 include("${_Qt5CTestMacros}")
 
 expect_pass(test_modules)
+
+set(Qt5_MODULE_TEST_DEPENDS Network Gui)
+
+test_module_includes(
+  Qml QQmlEngine
+  Quick QQuickWindow
+)