mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 18:36:21 +00:00
build: fixup release/debug mistake
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user