aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
Diffstat (limited to 'autotests')
-rw-r--r--autotests/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt
index 18317ee8..93745a99 100644
--- a/autotests/CMakeLists.txt
+++ b/autotests/CMakeLists.txt
@@ -4,12 +4,18 @@ remove_definitions(-DQT_NO_CAST_FROM_ASCII)
include(ECMMarkAsTest)
find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG QUIET)
+find_package(Qt5Concurrent ${QT_REQUIRED_VERSION} CONFIG QUIET)
if(NOT Qt5Test_FOUND)
message(STATUS "Qt5Test not found, autotests will not be built.")
return()
endif()
+if(NOT Qt5Concurrent_FOUND)
+ message(STATUS "Qt5Concurrent not found, autotests will not be built.")
+ return()
+endif()
+
macro(KCONFIGCORE_UNIT_TESTS)
foreach(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp) # TODO NOGUI