diff --git a/cmake/modules/kde4_cmake_uninstall.cmake.in b/cmake/modules/kde4_cmake_uninstall.cmake.in index 60511e9d..f6feca20 100644 --- a/cmake/modules/kde4_cmake_uninstall.cmake.in +++ b/cmake/modules/kde4_cmake_uninstall.cmake.in @@ -14,7 +14,7 @@ FOREACH(file ${files}) ) IF(NOT "${rm_retval}" STREQUAL 0) MESSAGE(FATAL_ERROR "Problem when removing \"${file}\": ${rm_out}") - ENDIF("${rm_retval}" STREQUAL 0) + ENDIF(NOT "${rm_retval}" STREQUAL 0) ELSE(EXISTS "${file}") MESSAGE(STATUS "File \"${file}\" does not exist.") ENDIF(EXISTS "${file}")