From 1d51c208fdf0cc1d465ab709681c69b5dcb8983d Mon Sep 17 00:00:00 2001 From: LostInKadath Date: Mon, 27 Nov 2023 23:57:24 +0400 Subject: [PATCH] Minor fix --- cmake_uninstall.cmake.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in index ff7484f..f6354e4 100644 --- a/cmake_uninstall.cmake.in +++ b/cmake_uninstall.cmake.in @@ -9,11 +9,10 @@ foreach(file ${files}) if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") execute_process( COMMAND "@CMAKE_COMMAND@" -E rm "$ENV{DESTDIR}${file}" - OUTPUT_VARIABLE rm_out RESULT_VARIABLE rm_retval ) if(NOT "${rm_retval}" STREQUAL 0) - message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") + message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") endif() else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") message(STATUS "File $ENV{DESTDIR}${file} does not exist.")