cmake: fix SDL_UNINSTALL post-configuration report

This commit is contained in:
Anonymous Maarten
2025-04-03 21:32:38 +02:00
committed by Anonymous Maarten
parent e15e2808f2
commit c0fb71f2a9

View File

@@ -4264,6 +4264,7 @@ endif()
##### Uninstall target #####
if(SDL_UNINSTALL)
set(HAVE_UNINSTALL ON)
if(NOT TARGET uninstall)
configure_file(cmake/cmake_uninstall.cmake.in cmake_uninstall.cmake IMMEDIATE @ONLY)