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)