Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
programs: Store the project version when overriding find_program
When we're using the output of configure_file() with override_find_program(), we weren't storing the version anywhere, so get_version() was trying to run the script during setup. This is usually fine, except in cases where the configure_file() script actually has to import a library built as part of the project, and fails to run. For built executables, we simply use the project version, and we now do the same here too.
- Loading branch information