https://github.com/Kitware/CMake
Revision eaa5e0b8b8a088014a9a8ab332511e07873b124a authored by Brad King on 08 April 2024, 22:07:41 UTC, committed by Kitware Robot on 08 April 2024, 22:07:55 UTC
9f399e741c curl: Set build options the way we need for CMake
7fef14d8e0 Merge branch 'upstream-curl' into update-curl
e17d8d0c3b curl 2024-03-27 (de7b3e89)
7ceb6e6c0b curl: Update script to get curl 8.7.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9408
2 parent s 05aaa09 + 9f399e7
Raw File
Tip revision: eaa5e0b8b8a088014a9a8ab332511e07873b124a authored by Brad King on 08 April 2024, 22:07:41 UTC
Merge topic 'update-curl'
Tip revision: eaa5e0b
cmake_uninstall.cmake.in
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
  message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
endif()

file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REPLACE "\n" ";" files "${files}")
foreach(file ${files})
  message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
  if(EXISTS "$ENV{DESTDIR}${file}")
    execute_process(
      COMMAND "@CMAKE_COMMAND@" -E rm -f "$ENV{DESTDIR}${file}"
      OUTPUT_VARIABLE rm_out
      RESULT_VARIABLE rm_retval
      )
    if("${rm_retval}" STREQUAL 0)
    else()
      message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
    endif()
  else()
    message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
  endif()
endforeach()
back to top