CMakeVersion.rc: Fix build with llvm-rc

llvm-rc expects versioning as having four items, it fails otherwise.
This commit is contained in:
Cristian Adam 2019-11-06 15:55:47 +01:00 committed by Brad King
parent e0ec13059a
commit f0c00bec1d

View File

@ -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})