Commit 488532c4 authored by Stephen Kelly's avatar Stephen Kelly Committed by The Qt Project
Browse files

Test the cmake scripttools module only if widgets is available.


Change-Id: Ia124db1328e9d6b87c9b1b6858103f81e1678355
Reviewed-by: default avatarAlexander Neundorf <neundorf@kde.org>
Reviewed-by: default avatarStephen Kelly <stephen.kelly@kdab.com>
parent 78e13648
No related merge requests found
Showing with 11 additions and 2 deletions
......@@ -9,7 +9,16 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
set(qt_module_includes
Script QScriptEngine
)
if (NOT NO_WIDGETS)
list(APPEND qt_module_includes
ScriptTools QScriptEngineDebugger
)
endif()
test_module_includes(
Script QScriptEngine
ScriptTools QScriptEngineDebugger
${qt_module_includes}
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment