diff options
| author | Craig Scott <craig.scott@crascit.com> | 2024-01-27 00:06:38 (GMT) |
|---|---|---|
| committer | Craig Scott <craig.scott@crascit.com> | 2024-01-27 00:06:38 (GMT) |
| commit | 873b2ad2ebaad2ca62c92259a02dcadb9201af1e (patch) | |
| tree | b3444fef549207a7dfdd668297828e9bd892a8d0 /Tests/FindPython/Python2SABIModule | |
| parent | b7c11ded92997ac232989e208642f9646e3f5b59 (diff) | |
| download | CMake-873b2ad2ebaad2ca62c92259a02dcadb9201af1e.zip CMake-873b2ad2ebaad2ca62c92259a02dcadb9201af1e.tar.gz CMake-873b2ad2ebaad2ca62c92259a02dcadb9201af1e.tar.bz2 | |
ExternalProject: Remove N^2 add_dependencies() calls
ExternalProject_Add_StepDependencies() contained a foreach() loop that
had another foreach() loop inside it iterating over the same set of values
(the dependencies). This resulted in add_dependencies() calls that added
the same dependencies to the step target N^2 times. A single call to
add_dependencies() with the list of dependencies provides the necessary
relationships without the N^2 behavior, and it removes the inner foreach()
loop.
Diffstat (limited to 'Tests/FindPython/Python2SABIModule')
0 files changed, 0 insertions, 0 deletions
