mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
CMakeVersion.rc: Fix build with llvm-rc
llvm-rc expects versioning as having four items, it fails otherwise.
This commit is contained in:
parent
e0ec13059a
commit
f0c00bec1d
@ -1177,7 +1177,7 @@ if(WIN32)
|
||||
unset(CMake_RCVERSION_MONTH_DAY)
|
||||
unset(CMake_RCVERSION_YEAR)
|
||||
else()
|
||||
set(CMake_RCVERSION ${CMake_VERSION_MAJOR},${CMake_VERSION_MINOR},${CMake_VERSION_PATCH})
|
||||
set(CMake_RCVERSION ${CMake_VERSION_MAJOR},${CMake_VERSION_MINOR},${CMake_VERSION_PATCH},0)
|
||||
endif()
|
||||
set(CMake_RCVERSION_STR ${CMake_VERSION})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user