I have inherited a project for which I can have no help of those who I inherited it from, and am running into a wall that I cannot comprehend. I hope someone here can shed some light to help this absolute noob understand what’s going on and maybe fix it.
I have a project that uses CMake to build the project, and when I try to “make” it, I get the error:
“/cmake/version.cmake:9 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command.”
What does this even mean?
The line 9 in question reads:
“string(REGEX REPLACE “^v([0-9]).([0-9]).*$” “\1;\2” GIT_FULL_VERSION ${GIT_DESCRIPTION})”
It also gave this error:
“Generating version information using git
fatal: No names found, cannot describe anything.”
Hope anyone can help I’m pretty desolate.