--- ninja-1.12.1/CMakeLists.txt.orig	2025-06-07 20:26:58.068523900 +0200
+++ ninja-1.12.1/CMakeLists.txt	2025-06-07 20:27:07.480625600 +0200
@@ -193,7 +193,7 @@
 	target_link_libraries(ninja PRIVATE libninja libninja-re2c)
 
 	if(WIN32)
-		target_sources(ninja PRIVATE windows/ninja.manifest)
+		target_sources(ninja PRIVATE windows/ninja.rc)
 	endif()
 endif()
 
--- ninja-1.12.1/windows/ninja.rc.orig	1970-01-01 01:00:00.000000000 +0100
+++ ninja-1.12.1/windows/ninja.rc	1970-01-01 01:00:00.000000000 +0100
@@ -0,0 +1,3 @@
+#include <windows.h>
+
+1 RT_MANIFEST "ninja.manifest"
