summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-05 19:42:39 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-05 19:42:39 (GMT)
commit9a9ed4b9d3f9658fa0615bb3cef601c5d396bf3b (patch)
treea250ea9bb63378aa00b46916ecdf04b47dba2e53 /Tests/RunCMake/CMakeLists.txt
parent63a65baf4c343c73b2142078ef0045d3711dea1d (diff)
parent7445c9a58a2444c8918e81a9264b1584001ca013 (diff)
downloadCMake-9a9ed4b9d3f9658fa0615bb3cef601c5d396bf3b.zip
CMake-9a9ed4b9d3f9658fa0615bb3cef601c5d396bf3b.tar.gz
CMake-9a9ed4b9d3f9658fa0615bb3cef601c5d396bf3b.tar.bz2
Merge branch 'backport-3.17-automoc_timestamp_deps'
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 10e66c3..5d00554 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -142,6 +142,9 @@ if(CMAKE_GENERATOR MATCHES "Ninja")
if(CMAKE_Fortran_COMPILER)
list(APPEND Ninja_ARGS -DTEST_Fortran=1)
endif()
+ if(CMake_TEST_Qt5 AND Qt5Core_FOUND)
+ list(APPEND Ninja_ARGS -DCMake_TEST_Qt5=1 -DCMAKE_TEST_Qt5Core_Version=${Qt5Core_VERSION})
+ endif()
add_RunCMake_test(Ninja)
set(NinjaMultiConfig_ARGS
-DCYGWIN=${CYGWIN}