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
[x] I have tested my changes locally and verified that they work as intended.
[x] I have documented any new or modified functionality.
[x] I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
[x] I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.
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