mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 08:14:57 +00:00
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
This commit is contained in:
parent
e7ea71be03
commit
dc971798e8
@ -129,7 +129,7 @@ if (GLFW_INSTALL)
|
|||||||
# Only generate this target if no higher-level project already has
|
# Only generate this target if no higher-level project already has
|
||||||
if (NOT TARGET uninstall)
|
if (NOT TARGET uninstall)
|
||||||
configure_file(CMake/cmake_uninstall.cmake.in
|
configure_file(CMake/cmake_uninstall.cmake.in
|
||||||
cmake_uninstall.cmake IMMEDIATE @ONLY)
|
cmake_uninstall.cmake @ONLY)
|
||||||
|
|
||||||
add_custom_target(uninstall
|
add_custom_target(uninstall
|
||||||
"${CMAKE_COMMAND}" -P
|
"${CMAKE_COMMAND}" -P
|
||||||
|
Loading…
Reference in New Issue
Block a user