summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-02-29 20:35:20 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-02-29 20:35:20 (GMT)
commit4689eedcc0a1cd73a95dbce583c9470319312b80 (patch)
tree0966ca63ce104d6c2d21621069d229f65bf285f2 /Tests/CMakeLists.txt
parentab9661c1dd4340af5a84244c920d94bddd1c8e90 (diff)
downloadCMake-4689eedcc0a1cd73a95dbce583c9470319312b80.zip
CMake-4689eedcc0a1cd73a95dbce583c9470319312b80.tar.gz
CMake-4689eedcc0a1cd73a95dbce583c9470319312b80.tar.bz2
reflect that the QtAutomoc depends on QtGui
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 13e57d9..7e56588 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -888,7 +888,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Environment")
- IF(QT4_WORKS)
+ IF(QT4_WORKS AND QT_QTGUI_FOUND)
ADD_TEST(QtAutomoc ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/QtAutomoc"