summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/CMakeLists.txt5
-rw-r--r--tests/auto/cmake/cmake.pro2
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 30ea1f7..8518d09 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -5,12 +5,9 @@ project(qmake_cmake_files)
enable_testing()
find_package(Qt5Core REQUIRED)
-find_package(Qt5Qml REQUIRED)
-find_package(Qt5Quick REQUIRED)
-
include("${_Qt5CTestMacros}")
test_module_includes(
- QScxml
+ Scxml QScxmlEvent
)
diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro
index 180ba7e..e91ff69 100644
--- a/tests/auto/cmake/cmake.pro
+++ b/tests/auto/cmake/cmake.pro
@@ -1,6 +1,6 @@
# Cause make to do nothing.
TEMPLATE = subdirs
-CMAKE_QT_MODULES_UNDER_TEST = qscxml
+CMAKE_QT_MODULES_UNDER_TEST = scxml
CONFIG += ctest_testcase