build: fixup release/debug mistake

This commit is contained in:
Michael Vetter
2026-02-05 13:32:27 +01:00
parent d8211584f6
commit af0dfcce70

View File

@@ -575,7 +575,7 @@ endif
main_source = files('src/main.c')
# Generate git version header if in development
if get_option('buildtype') == 'release' or get_option('buildtype') == 'debugoptimized'
if get_option('buildtype') == 'debug' or get_option('buildtype') == 'debugoptimized'
git_branch = run_command('git', 'rev-parse', '--symbolic-full-name', '--abbrev-ref', 'HEAD',
check: false).stdout().strip()
git_revision = run_command('git', 'log', '--pretty=format:%h', '-n', '1',