From b00463f06c80529f02c489872458345790f6cd48 Mon Sep 17 00:00:00 2001 From: David Cole Date: Fri, 19 Aug 2011 12:30:36 -0400 Subject: [PATCH] QtAutomoc test: Pass QT_QMAKE_EXECUTABLE ...in case qmake is not in the PATH --- Tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index b1db40d76..9d8a09151 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -872,6 +872,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} --build-exe-dir "${CMake_BINARY_DIR}/Tests/QtAutomoc" --force-new-ctest-process + --build-options -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} --test-command ${CMAKE_CTEST_COMMAND} -V ) LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/QtAutomoc")