cmake_uninstall.cmake.in
changeset 11605 b914622c734e
parent 8874 48d4f2d74d67
     1.1 --- a/cmake_uninstall.cmake.in	Thu Oct 12 08:41:11 2017 -0700
     1.2 +++ b/cmake_uninstall.cmake.in	Thu Oct 12 08:44:45 2017 -0700
     1.3 @@ -1,8 +1,8 @@
     1.4 -if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
     1.5 -    message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
     1.6 -endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
     1.7 +if (NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
     1.8 +    message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR@/install_manifest.txt\"")
     1.9 +endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
    1.10  
    1.11 -file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
    1.12 +file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files)
    1.13  string(REGEX REPLACE "\n" ";" files "${files}")
    1.14  foreach (file ${files})
    1.15      message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")