We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a772704 commit f2bd10fCopy full SHA for f2bd10f
contrib/buildsystems/CMakeLists.txt
@@ -201,9 +201,13 @@ endif()
201
202
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")
+ if(CMAKE_RC_COMPILER)
+ set(WINDRES_EXE ${CMAKE_RC_COMPILER})
+ 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()
211
endif()
212
213
git.rc
@@ -11,7 +11,7 @@ BEGIN
11
VALUE "InternalName", "git\0"
12
VALUE "OriginalFilename", "git.exe\0"
13
VALUE "ProductName", "Git\0"
14
- VALUE "ProductVersion", GIT_VERSION "\0"
+ VALUE "ProductVersion", "DEMO\0"
15
END
16
17
0 commit comments