diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-29 20:35:20 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-29 20:35:20 (GMT) |
commit | 4689eedcc0a1cd73a95dbce583c9470319312b80 (patch) | |
tree | 0966ca63ce104d6c2d21621069d229f65bf285f2 | |
parent | ab9661c1dd4340af5a84244c920d94bddd1c8e90 (diff) | |
download | CMake-4689eedcc0a1cd73a95dbce583c9470319312b80.zip CMake-4689eedcc0a1cd73a95dbce583c9470319312b80.tar.gz CMake-4689eedcc0a1cd73a95dbce583c9470319312b80.tar.bz2 |
reflect that the QtAutomoc depends on QtGui
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
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" |