1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 13:13:53 +00:00

fix compilation for Ubuntu MinGW

version had to be set to 7 minimum.
This commit is contained in:
Rosen Penev 2023-10-16 19:41:20 -07:00 committed by GitHub
parent 37aff70dfa
commit 470b0934a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,10 @@ endif
threads_dep = dependency('threads') threads_dep = dependency('threads')
if host_machine.system() == 'windows'
add_project_arguments('-DWINVER=0x0601', '-D_WIN32_WINNT=0x0601', language: 'cpp')
endif
includes = [ includes = [
'public/tracy/TracyC.h', 'public/tracy/TracyC.h',
'public/tracy/Tracy.hpp', 'public/tracy/Tracy.hpp',