cburstedde / p4est

The "p4est" forest-of-octrees library
www.p4est.org/
GNU General Public License v2.0
260 stars 115 forks source link

CMake Git version bugfix #284

Closed scivision closed 9 months ago

scivision commented 9 months ago

For use as subproject, ensure that Git version is generated from the correct project.

Correct the Git Submodule update logic as for submodules ".git" is a file instead of directory. EXISTS handles both cases.