summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FetchContent/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-02-17 22:40:39 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-02-17 22:40:39 (GMT)
commitbd876f3849663959f4b8b7c7f2052ecbb53b8500 (patch)
treea9d729e609683132c56ad02cdcffc71cfeb1368f /Tests/RunCMake/FetchContent/RunCMakeTest.cmake
parent50fc9d5b45a7dcbb11152ea77b2d47c66e277265 (diff)
downloadCMake-bd876f3849663959f4b8b7c7f2052ecbb53b8500.zip
CMake-bd876f3849663959f4b8b7c7f2052ecbb53b8500.tar.gz
CMake-bd876f3849663959f4b8b7c7f2052ecbb53b8500.tar.bz2
FetchContent: Restore patch command support
The refactoring in 17e5516e60 (FetchContent: Invoke steps directly and avoid a separate sub-build, 2021-01-29) contained a typo which resulted in any PATCH_COMMAND being ignored. Fix the typo and add a test case that would have caught the regression.
Diffstat (limited to 'Tests/RunCMake/FetchContent/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/FetchContent/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/FetchContent/RunCMakeTest.cmake b/Tests/RunCMake/FetchContent/RunCMakeTest.cmake
index b497382..13013fa 100644
--- a/Tests/RunCMake/FetchContent/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FetchContent/RunCMakeTest.cmake
@@ -2,6 +2,7 @@ include(RunCMake)
unset(RunCMake_TEST_NO_CLEAN)
+run_cmake(MultiCommand)
run_cmake(MissingDetails)
run_cmake(DirectIgnoresDetails)
run_cmake(FirstDetailsWin)