Commit f0c00bec authored by Cristian Adam's avatar Cristian Adam Committed by Brad King

CMakeVersion.rc: Fix build with llvm-rc

llvm-rc expects versioning as having four items, it fails otherwise.
parent e0ec1305
......@@ -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})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment