From dc971798e898c06f3e9de0a93f00442e70371f3c Mon Sep 17 00:00:00 2001 From: t1c Date: Fri, 25 Apr 2025 16:31:14 +0800 Subject: [PATCH] Update CMakeLists.txt According to the CMake official documentation (as of version 3.28), the valid options for the configure_file command are limited to: @ONLY, ESCAPE_QUOTES, COPYONLY, and NEWLINE_STYLE, while IMMEDIATE is not recognized as a standard option. https://cmake.org/cmake/help/v3.28/command/configure_file.html#configure-file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 398b36eb..85de0fed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ if (GLFW_INSTALL) # Only generate this target if no higher-level project already has if (NOT TARGET uninstall) configure_file(CMake/cmake_uninstall.cmake.in - cmake_uninstall.cmake IMMEDIATE @ONLY) + cmake_uninstall.cmake @ONLY) add_custom_target(uninstall "${CMAKE_COMMAND}" -P