File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -870,13 +870,6 @@ set(CPACK_PACKAGE_VERSION_MAJOR ${CMAKE_MATCH_1})
870870set (CPACK_PACKAGE_VERSION_MINOR ${CMAKE_MATCH_2} )
871871set (CPACK_PACKAGE_VERSION_PATCH ${CMAKE_MATCH_3} )
872872set (CPACK_PACKAGE_VERSION_TWEAK ${CMAKE_MATCH_4} )
873- # If parsing failed (e.g., version is just a commit hash), fall back to MMAPPER_VERSION
874- if (NOT CPACK_PACKAGE_VERSION_MAJOR)
875- string (REGEX MATCH "^([0-9]+)\\ .([0-9]+)\\ .([0-9]+).*$" _ "${MMAPPER_VERSION} " )
876- set (CPACK_PACKAGE_VERSION_MAJOR ${CMAKE_MATCH_1} )
877- set (CPACK_PACKAGE_VERSION_MINOR ${CMAKE_MATCH_2} )
878- set (CPACK_PACKAGE_VERSION_PATCH ${CMAKE_MATCH_3} )
879- endif ()
880873if (NOT CPACK_PACKAGE_VERSION_TWEAK)
881874 # Set to 0 if the commit count is missing
882875 set (CPACK_PACKAGE_VERSION_TWEAK 0)
You can’t perform that action at this time.
0 commit comments