summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-19 16:30:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-19 16:31:38 (GMT)
commitb00463f06c80529f02c489872458345790f6cd48 (patch)
treeb0fdab16067e95f8a3f99b94f00ccc2f4712a243 /Tests
parente78ce44b3598807bd401494d484601d9f43bd8b4 (diff)
downloadCMake-b00463f06c80529f02c489872458345790f6cd48.zip
CMake-b00463f06c80529f02c489872458345790f6cd48.tar.gz
CMake-b00463f06c80529f02c489872458345790f6cd48.tar.bz2
QtAutomoc test: Pass QT_QMAKE_EXECUTABLE
...in case qmake is not in the PATH
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index b1db40d..9d8a091 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")