summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Freed <safreed@microsoft.com>2021-06-07 16:38:05 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-08 11:49:50 (GMT)
commitde2b14a7117be203544f3014d2a0a9cac93f9a1e (patch)
tree9afb355ca40aea4d1f93b39a419c337cffe17012 /Tests/RunCMake/CMakeLists.txt
parentefe7ac9022b18132d33c68919c81422d738cd672 (diff)
parent534c40e6d8801853c19435a8c2d732ca2b01b606 (diff)
downloadCMake-de2b14a7117be203544f3014d2a0a9cac93f9a1e.zip
CMake-de2b14a7117be203544f3014d2a0a9cac93f9a1e.tar.gz
CMake-de2b14a7117be203544f3014d2a0a9cac93f9a1e.tar.bz2
Merge branch 'backport-3.20-presets-build-fixes' into presets-build-fixes
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index d02d7a2..be315cb 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -836,9 +836,19 @@ add_RunCMake_test(PrecompileHeaders -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}
-DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION})
add_RunCMake_test("UnityBuild")
-add_RunCMake_test(CMakePresets -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA})
-add_RunCMake_test(CMakePresetsBuild -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA})
-add_RunCMake_test(CMakePresetsTest -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA})
+add_RunCMake_test(CMakePresets
+ -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
+ -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
+ )
+add_RunCMake_test(CMakePresetsBuild
+ -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
+ -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
+ -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
+ )
+add_RunCMake_test(CMakePresetsTest
+ -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
+ -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
+ )
if(${CMAKE_GENERATOR} MATCHES "Make|Ninja")
add_RunCMake_test(TransformDepfile)