Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #273074

Category None
Changed by Viktor Szakats <commitohnoyoudont@vsz.me>
Changed at Sat 27 Jun 2026 13:53:53
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch master
Revision 88d85916f24ededa1b9f90b52c4c5d18af2c8072

Comments

cmake: minor improvements to `cmake_uninstall.in.cmake`

- reduce log noise by showing 'Uninstalling' message only if the file
  exists. (and a different message otherwise)
- replace cmake `rm` command with `file(REMOVE)`. For efficiency.
  Show manual message if the file could not be deleted.
  Ref: https://cmake.org/cmake/help/v3.18/command/file.html#remove
  Follow-up to 6d008352c667799beecb1ab1dfbc408c415d018c #22193
- reduce log noise by showing 'Uninstalled' only if the deletion was
  successful. (and a different message otherwise)
- display `DESTDIR` env value if set.
- drop checking, setting and showing `CMAKE_INSTALL_PREFIX`.
  The value was never predefined, also not used, besides showing it,
  and showing it is misleading because `--prefix` may override the
  configure-time value, and also superfluous because the filenames
  are showing the actual prefix anyway.

Follow-up to 27e2a4733c3321fb0b1a127360e8e96bc3d4ae53

Closes #22201

Changed files