Skip to content

Commit f2bd10f

Browse files
committed
Temporarily hardcode ProductVersion in git.rc for ARM64 builds
Signed-off-by: Dennis Ameling <[email protected]>
1 parent a772704 commit f2bd10f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

contrib/buildsystems/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,13 @@ endif()
201201

202202

203203
if(WIN32 AND NOT MSVC)#not required for visual studio builds
204-
find_program(WINDRES_EXE windres)
205-
if(NOT WINDRES_EXE)
206-
message(FATAL_ERROR "Install windres on Windows for resource files")
204+
if(CMAKE_RC_COMPILER)
205+
set(WINDRES_EXE ${CMAKE_RC_COMPILER})
206+
else()
207+
find_program(WINDRES_EXE windres)
208+
if(NOT WINDRES_EXE)
209+
message(FATAL_ERROR "Install windres on Windows for resource files")
210+
endif()
207211
endif()
208212
endif()
209213

git.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ BEGIN
1111
VALUE "InternalName", "git\0"
1212
VALUE "OriginalFilename", "git.exe\0"
1313
VALUE "ProductName", "Git\0"
14-
VALUE "ProductVersion", GIT_VERSION "\0"
14+
VALUE "ProductVersion", "DEMO\0"
1515
END
1616
END
1717

0 commit comments

Comments
 (0)