summaryrefslogtreecommitdiffstatsci
path: root/CMakeScripts
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2014-10-13 17:55:18 -0700
committerBryce Harrington <bryce@osg.samsung.com>2014-10-13 17:55:18 -0700
commitdc28549f493526a4eb5ebf2300097fefc9e14868 (patch)
tree8bd7564fe7c9569ad71b6446b1da28dc12500524 /CMakeScripts
parentde9811430ad961a2eae47f43414059627122e348 (diff)
build: Fix uninstall by treating newlines as list delimiters
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/cmake_uninstall.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeScripts/cmake_uninstall.cmake.in b/CMakeScripts/cmake_uninstall.cmake.in
index b99d7e0..846ebf3 100644
--- a/CMakeScripts/cmake_uninstall.cmake.in
+++ b/CMakeScripts/cmake_uninstall.cmake.in
@@ -4,6 +4,7 @@ ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE " " ";" files "${files}")
+STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling "$ENV{DESTDIR}${file}"")
IF(EXISTS "$ENV{DESTDIR}${file}")