reflect that the QtAutomoc depends on QtGui
This commit is contained in:
parent
ab9661c1dd
commit
4689eedcc0
|
@ -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")
|
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}
|
ADD_TEST(QtAutomoc ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
"${CMake_SOURCE_DIR}/Tests/QtAutomoc"
|
"${CMake_SOURCE_DIR}/Tests/QtAutomoc"
|
||||||
|
|
Loading…
Reference in New Issue