CMake: Test module includes
authorStephen Kelly <stephen.kelly@kdab.com>
Mon, 29 Oct 2012 09:34:41 +0000 (10:34 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 31 Oct 2012 11:45:25 +0000 (12:45 +0100)
Change-Id: I1676efff8071fa0fae13bb484a5e18928e35f663
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/cmake/CMakeLists.txt

index 4f15a69..16f11c9 100644 (file)
@@ -10,3 +10,10 @@ find_package(Qt5Core REQUIRED)
 include("${_Qt5CTestMacros}")
 
 expect_pass(test_modules)
+
+set(Qt5_MODULE_TEST_DEPENDS Network Widgets)
+
+test_module_includes(
+  Multimedia QCamera
+  MultimediaWidgets QVideoWidget
+)