chore: fix GitHub CI
This commit is contained in:
parent
8712e4e9fd
commit
3478a92512
|
@ -17,6 +17,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: psxavenc
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build psxavenc for Windows
|
||||
run: |
|
||||
|
|
|
@ -3,7 +3,7 @@ project('psxavenc', 'c', default_options: ['c_std=c11'])
|
|||
add_project_arguments('-D_POSIX_C_SOURCE=201112L', language : 'c')
|
||||
|
||||
conf_data = configuration_data()
|
||||
conf_data.set('VERSION', '"' + run_command('git', 'describe', '--tags', '--match=v*', check: true).stdout().strip() + '"')
|
||||
conf_data.set('VERSION', '"' + run_command('git', '-C', meson.project_source_root(), 'describe', '--tags', '--always', '--dirty', '--match=v*', check: true).stdout().strip() + '"')
|
||||
configure_file(output: 'config.h', configuration: conf_data)
|
||||
|
||||
libm_dep = meson.get_compiler('c').find_library('m')
|
||||
|
|
Loading…
Reference in New Issue