From 9b87ad7f1dfbf76ad8ab35edf2346aefd6d40b15 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 7 Feb 2022 12:57:11 +0100 Subject: [PATCH] CMake: version 3.16 doesn't support the rm command --- cmake/uninstall.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/uninstall.cmake.in b/cmake/uninstall.cmake.in index ddc8db8..03c1abf 100644 --- a/cmake/uninstall.cmake.in +++ b/cmake/uninstall.cmake.in @@ -14,7 +14,7 @@ foreach(file ${files}) message(STATUS "Uninstalling: $ENV{DESTDIR}${file}") if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") execute_process(COMMAND "@CMAKE_COMMAND@" - -E rm "$ENV{DESTDIR}${file}" + -E remove "$ENV{DESTDIR}${file}" OUTPUT_VARIABLE rm_out RESULT_VARIABLE rm_retval) if(NOT "${rm_retval}" STREQUAL 0)