This PR fixes an issue when you try to build the project as a submodule of another project.
The git command that gets the version normally gets the root projects version which is incorrect, if the git command is run in the source directory of the project then it ensures that it will get this project's version and not the root project's.
This PR fixes an issue when you try to build the project as a submodule of another project.
The git command that gets the version normally gets the root projects version which is incorrect, if the git command is run in the source directory of the project then it ensures that it will get this project's version and not the root project's.