QtAutomoc test: Pass QT_QMAKE_EXECUTABLE
...in case qmake is not in the PATH
This commit is contained in:
parent
e78ce44b35
commit
b00463f06c
@ -872,6 +872,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
|||||||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||||
--build-exe-dir "${CMake_BINARY_DIR}/Tests/QtAutomoc"
|
--build-exe-dir "${CMake_BINARY_DIR}/Tests/QtAutomoc"
|
||||||
--force-new-ctest-process
|
--force-new-ctest-process
|
||||||
|
--build-options -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
|
||||||
--test-command ${CMAKE_CTEST_COMMAND} -V
|
--test-command ${CMAKE_CTEST_COMMAND} -V
|
||||||
)
|
)
|
||||||
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/QtAutomoc")
|
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/QtAutomoc")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user