From 4ded2e0ac832988a28bff232655605912271629b Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 28 Nov 2024 23:27:13 +0100 Subject: [PATCH] cmake: remove legacy unused IMMEDIATE keyword This was once supported in CMake 2.x and in current 3.x versions is ignored. Closes #15661 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c3326e8df..0cba6f626b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2308,7 +2308,7 @@ if(NOT CURL_DISABLE_INSTALL) configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/CMake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake" - IMMEDIATE @ONLY) + @ONLY) add_custom_target(curl_uninstall COMMAND ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake")