File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,13 @@ endif()
201
201
202
202
203
203
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 ()
207
211
endif ()
208
212
endif ()
209
213
Original file line number Diff line number Diff line change 11
11
VALUE "InternalName", "git\0"
12
12
VALUE "OriginalFilename", "git.exe\0"
13
13
VALUE "ProductName", "Git\0"
14
- VALUE "ProductVersion", GIT_VERSION " \0"
14
+ VALUE "ProductVersion", "DEMO \0"
15
15
END
16
16
END
17
17
You can’t perform that action at this time.
0 commit comments