summaryrefslogtreecommitdiff
path: root/docs/markdown/Commands.md
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2024-09-26 15:00:54 +0530
committerDylan Baker <dylan@pnwbakers.com>2024-09-30 10:17:41 -0700
commitfb4995a2c607b8289ae97a3faa5917f2887da294 (patch)
tree73dd2dae3a905a0d967f8ffd264dce331e988c3b /docs/markdown/Commands.md
parent9294c81fc134515a7b7d06ed538b66f45993b59d (diff)
downloadmeson-fb4995a2c607b8289ae97a3faa5917f2887da294.tar.gz
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.
Diffstat (limited to 'docs/markdown/Commands.md')
0 files changed, 0 insertions, 0 deletions