diff options
author | Craig Scott <craig.scott@crascit.com> | 2021-02-17 22:40:39 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2021-02-17 22:40:39 (GMT) |
commit | bd876f3849663959f4b8b7c7f2052ecbb53b8500 (patch) | |
tree | a9d729e609683132c56ad02cdcffc71cfeb1368f /Modules | |
parent | 50fc9d5b45a7dcbb11152ea77b2d47c66e277265 (diff) | |
download | CMake-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 'Modules')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 2b413c2..4a9809b 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -3897,7 +3897,7 @@ function(_ep_do_preconfigure_steps_now name) # Once any step has to run, all later steps have to be run too set(need_to_run FALSE) - foreach(step IN ITEMS download update parse) + foreach(step IN ITEMS download update patch) if(update_disconnected AND "${step}" STREQUAL "update") continue() endif() |