summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-09-01 20:58:58 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-09-01 20:58:58 (GMT)
commitc35d1927a58366c56beb320835eb9366d0dccd70 (patch)
tree47fdcea8d38d7c1beef945530662f57c2f90ed72 /Tests/RunCMake/Ninja
parent7da3c744e3f39bb19358fd2f19807443c89919af (diff)
downloadCMake-c35d1927a58366c56beb320835eb9366d0dccd70.zip
CMake-c35d1927a58366c56beb320835eb9366d0dccd70.tar.gz
CMake-c35d1927a58366c56beb320835eb9366d0dccd70.tar.bz2
Tests: Pass additional Qt information to Ninja and NMC tests
Diffstat (limited to 'Tests/RunCMake/Ninja')
-rw-r--r--Tests/RunCMake/Ninja/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/RunCMakeTest.cmake b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
index d43023b..e6f86a1 100644
--- a/Tests/RunCMake/Ninja/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
@@ -327,6 +327,7 @@ run_ChangeBuildType()
function(run_Qt5AutoMocDeps)
if(CMake_TEST_Qt5 AND CMAKE_TEST_Qt5Core_Version VERSION_GREATER_EQUAL 5.15.0)
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/Qt5AutoMocDeps-build)
+ set(RunCMake_TEST_OPTIONS "-DQt5Core_DIR=${Qt5Core_DIR}")
run_cmake(Qt5AutoMocDeps)
unset(RunCMake_TEST_OPTIONS)
# Build the project.