Previously we had been using CMAKE_SOURCE_DIR rather frequently. However, this variable corresponds to the top-level source directory, so if one were to attempt to build Aluminum as a subproject, things would go awry quickly.
I also cleaned up the use of Git, preferring CMake's built-in FindGit.cmake rather than manually finding the executable.
Previously we had been using
CMAKE_SOURCE_DIR
rather frequently. However, this variable corresponds to the top-level source directory, so if one were to attempt to build Aluminum as a subproject, things would go awry quickly.I also cleaned up the use of Git, preferring CMake's built-in
FindGit.cmake
rather than manually finding the executable.