diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in index 014b5477d..bd64441c9 100644 --- a/cmake_uninstall.cmake.in +++ b/cmake_uninstall.cmake.in @@ -36,7 +36,7 @@ IF(EXISTS "@CMAKE_INSTALL_PREFIX@/.catkin" AND NOT PACKAGE_CREATES_DOT_CATKIN) OUTPUT_VARIABLE rm_out ERROR_VARIABLE rm_err ) -ENDIF(EXISTS "@CMAKE_INSTALL_PREFIX@/.catkin" AND NOT PACKAGE_CREATES_DOT_CATKIN) +ENDIF() IF(EXISTS "@CMAKE_CURRRENT_BINARY_DIR@/install_manifest.txt") return()