Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Replace deprecated exec_program() with execute_process()
exec_program() has been deprecated since version 3.0. See here: https://cmake.org/cmake/help/latest/command/exec_program.html Invoking the uninstall target causes warning messages about using deprecated exec_program() such as: "sudo make uninstall -- Uninstalling /usr/lib/x86_64-linux-gnu/pkgconfig/libiio.pc CMake Warning (dev) at cmake_uninstall.cmake:49 (exec_program): Policy CMP0153 is not set: The exec_program command should not be called. Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy command to set the policy and suppress this warning. " Used cmake version 3.28.3. Signed-off-by: Dan Nechita <[email protected]>
- Loading branch information