add version to meson.build 'project()'

Meson projects which use tracy as a subproject and specify a version for the dependency will fail due to an undefined version number.
This commit is contained in:
Kirk Klobe 2023-03-22 21:06:03 -05:00
parent f55d0d0f55
commit 0e11b40bb2
No known key found for this signature in database
GPG Key ID: D108BA1448B0AB7F

View File

@ -1,4 +1,4 @@
project('tracy', ['cpp']) project('tracy', ['cpp'], version: '0.9.1')
if get_option('tracy_enable') if get_option('tracy_enable')
add_project_arguments('-DTRACY_ENABLE', language : 'cpp') add_project_arguments('-DTRACY_ENABLE', language : 'cpp')