From 1847c69e750a2b039e0213d19e0cfda75d52e58b Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 30 Oct 2024 08:25:07 +0100 Subject: [PATCH] Fix uninstall Makefile rule Syntax confirmed by https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake Closes GH-1187 References GH-1102 when it probably broke --- cmake/cmake_uninstall.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cmake_uninstall.cmake.in b/cmake/cmake_uninstall.cmake.in index 7492214156..7eab12b3fc 100644 --- a/cmake/cmake_uninstall.cmake.in +++ b/cmake/cmake_uninstall.cmake.in @@ -31,7 +31,7 @@ foreach(file ${files}) endif() execute_process( - COMMAND "@CMAKE_COMMAND@" -E remove \"$ENV{DESTDIR}${file}\" + COMMAND "@CMAKE_COMMAND@" -E remove "$ENV{DESTDIR}${file}" OUTPUT_VARIABLE rm_out RESULT_VARIABLE rm_retval)