ThePhD / infoware

C++ Library for pulling system and hardware information, without hitting the command line.
Creative Commons Zero v1.0 Universal
410 stars 84 forks source link

Git working directory #36

Closed DrakkLord closed 4 years ago

DrakkLord commented 4 years ago

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.

nabijaczleweli commented 4 years ago

Merged in b432cbd7977ee68f25b7f072bf3e43de5366bc91, GitHub didn't pick it up for some reason.

Thanks!

nabijaczleweli commented 4 years ago

Released in v0.4.2