diff options
| author | Bryce Harrington <bryce@osg.samsung.com> | 2014-10-13 17:55:18 -0700 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-10-13 17:55:18 -0700 |
| commit | dc28549f493526a4eb5ebf2300097fefc9e14868 (patch) | |
| tree | 8bd7564fe7c9569ad71b6446b1da28dc12500524 | |
| parent | de9811430ad961a2eae47f43414059627122e348 (diff) | |
build: Fix uninstall by treating newlines as list delimiters
| -rw-r--r-- | CMakeScripts/cmake_uninstall.cmake.in | 1 |
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}") |