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

Run the qttools cmake module tests only if QtWidgets is available.


Change-Id: I26847e3347cf24664ca52488ddf521c923e37912
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
parent 8b76d788
Branches
Tags
No related merge requests found
Showing with 4 additions and 2 deletions
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
# Cause make to do nothing. # Cause make to do nothing.
TEMPLATE = subdirs TEMPLATE = subdirs
qtHaveModule(widgets): CMAKE_QT_MODULES_UNDER_TEST = designer help uitools qtHaveModule(widgets) {
CMAKE_QT_MODULES_UNDER_TEST = designer help uitools
CONFIG += ctest_testcase CONFIG += ctest_testcase
}
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