DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.73k stars 231 forks source link

Re-enable git hash generation on changes #451

Closed winterheart closed 1 week ago

winterheart commented 1 week ago

Pull Request Type

Description

Previous change 0b68277 fixes paths to generated file, but after that add_custom_command() stops executing every time on build and git hash generation is broken. This PR fixes this issue by inverting dependency between add_custom_target() and add_custom_command() (target now depends on command).

Related Issues

Screenshots (if applicable)

Checklist

Additional Comments