summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-26 18:08:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-29 09:31:53 +0100
commit475a0940ec9437aa0f3a9899dc45a3ddd1b002fc (patch)
treec89d50d1464a2b701eb0ea67548888bd54aa3b3b /tests
parent7eff63b41e4f5bc008877581abd87774c2907e08 (diff)
downloadqtsvg-475a0940ec9437aa0f3a9899dc45a3ddd1b002fc.tar.gz
CMake: Test module includes
Change-Id: I49a7e136df65bdfa3c62f72dd0a1cd502706bc48 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-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 4f15a69..b93a147 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 Widgets)
+
+test_module_includes(
+ Svg QSvgWidget
+)