]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: replace exec_program() with execute_process()
authorPeter Kokot <peterkokot@gmail.com>
Thu, 20 Mar 2025 23:37:42 +0000 (00:37 +0100)
committerViktor Szakats <commit@vsz.me>
Sat, 22 Mar 2025 23:06:25 +0000 (00:06 +0100)
commitd03429ce0394551def98d5b0d484cbd9337819ef
tree7fd3c711019e1afb9470b037355f415a941d511f
parent23f6a1abfd047a8a1b330b4d6898b3a3e5769f6a
cmake: replace exec_program() with execute_process()

The `exec_program()` is deprecated as of CMake 3.0.

This also removes the `rm_out` variable as it isn't used in the output.
In `execute_process()` the `ERROR_QUIET` and `OUTPUT_QUIET` resemble
the behavior of `exec_program(OUTPUT_VARIABLE)` behavior in this case.

Closes #16779
CMake/cmake_uninstall.cmake.in