diff options
author | Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> | 2020-04-20 13:58:22 (GMT) |
---|---|---|
committer | Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> | 2020-04-20 16:49:17 (GMT) |
commit | e5b33871ed7fd9d0b93596400509d455bfa41234 (patch) | |
tree | ae0365cfcf5dacd18e2ea5c223313f9c4a75f251 /Tests/RunCMake/ExternalProject | |
parent | 5d32699975d8623c19f74c75f22ee128a81508c8 (diff) | |
download | CMake-e5b33871ed7fd9d0b93596400509d455bfa41234.zip CMake-e5b33871ed7fd9d0b93596400509d455bfa41234.tar.gz CMake-e5b33871ed7fd9d0b93596400509d455bfa41234.tar.bz2 |
ExternalProject: Fix step dependency on mkdir step
When looking at `list(FIND)` result, zero index is ignored due to
incorrect error handling, and users can't set dependencies on mkdir
step.
Fixes: #20605
Diffstat (limited to 'Tests/RunCMake/ExternalProject')
-rw-r--r-- | Tests/RunCMake/ExternalProject/Add_StepDependencies_iface_step-stderr.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/ExternalProject/Add_StepDependencies_iface_step-stderr.txt b/Tests/RunCMake/ExternalProject/Add_StepDependencies_iface_step-stderr.txt index 22e13bf..5fa75e8 100644 --- a/Tests/RunCMake/ExternalProject/Add_StepDependencies_iface_step-stderr.txt +++ b/Tests/RunCMake/ExternalProject/Add_StepDependencies_iface_step-stderr.txt @@ -1,5 +1,5 @@ ^CMake Error at .*/Modules/ExternalProject.cmake:[0-9]+ \(message\): - Target "MyProj-IFace" was not generated by ExternalProject_Add_StepTargets. + External project "MyProj" does not have a step "IFace". Call Stack \(most recent call first\): Add_StepDependencies_iface_step.cmake:[0-9]+ \(ExternalProject_Add_StepDependencies\) CMakeLists.txt:[0-9]+ \(include\)$ |