andrew-hardin/cmake-git-version-tracking

Modified pre-configure file doesn't trigger a reconfigure

andrew-hardin opened this issue · 0 comments

  • Expected behavior: after making a change to the pre-configure file, the post-configure file is regenerated.
  • Actual behavior: the post-configure file isn't regenerated because the git-hash hasn't changed.

The script name is also hard coded and can be replaced with ${CMAKE_CURRENT_LIST_FILE}.