ExternalProject: Install step regression in CMake 3.25
This issue documents a regression introduced in CMake 3.25 through 66b5d51f that was originally intended to fix issue #23946.
In a nutshell, the way to perform the install in ExternalProject
was changed from
cmake --build /path/to-build --target install --config <build_type>
to
cmake --install /path/to --config <build_type>
.
Since the use of --install
does not attempt to rebuild the project, this break existing projects which assumed it was the case.
For more details, see https://github.com/jcfr/cmake-ExternalProject-install-step-regression