From 82dc7c895ef7e420bc51a8a0b072a268b014a2ee Mon Sep 17 00:00:00 2001 From: Mohammad Saboorian Date: Sat, 25 Feb 2017 10:54:59 +0330 Subject: [PATCH] install_manifest has a .txt extension --- cmake/templates/uninstall.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/templates/uninstall.cmake.in b/cmake/templates/uninstall.cmake.in index b73dc5e8..79e6e89c 100644 --- a/cmake/templates/uninstall.cmake.in +++ b/cmake/templates/uninstall.cmake.in @@ -1,9 +1,9 @@ -set(INSTALL_MANIFEST "@CMAKE_CURRENT_BINARY_DIR@/install_manifest") +set(INSTALL_MANIFEST "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") if(NOT EXISTS ${INSTALL_MANIFEST}) message(FATAL_ERROR "Cannot find install manifest: ${INSTALL_MANIFEST}") endif() -file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest" files) +file(READ ${INSTALL_MANIFEST} files) string(REGEX REPLACE "\n" ";" files "${files}") list(REVERSE files)