From b92002b3045e21e3b7e76f1cf5786454c3554050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?= Date: Fri, 19 Mar 2021 16:14:27 +0100 Subject: [PATCH] Match closing statement, doh --- cmake/exiv2_uninstall.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/exiv2_uninstall.cmake b/cmake/exiv2_uninstall.cmake index fdd9f625..30b0c276 100644 --- a/cmake/exiv2_uninstall.cmake +++ b/cmake/exiv2_uninstall.cmake @@ -16,7 +16,7 @@ FOREACH(file ${files}) ELSE("${rm_retval}" STREQUAL 0) MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"") ENDIF("${rm_retval}" STREQUAL 0) - ELSE(EXISTS "${file}") + ELSE(IS_SYMLINK "${file}" OR EXISTS "${file}") MESSAGE(STATUS "File \"${file}\" does not exist.") - ENDIF(EXISTS "${file}") + ENDIF(IS_SYMLINK "${file}" OR EXISTS "${file}") ENDFOREACH(file)