reflect that the QtAutomoc depends on QtGui

This commit is contained in:
Rolf Eike Beer 2012-02-29 21:35:20 +01:00
parent ab9661c1dd
commit 4689eedcc0
1 changed files with 1 additions and 1 deletions

View File

@ -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"