mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
Meson recommends using 'threads' dependency instead of 'pthread'
This commit is contained in:
parent
f92a2a07db
commit
ab9c9ea7ea
@ -111,6 +111,7 @@ inc_common = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
dep_vulkan = dependency('vulkan', required: get_option('use_system_vulkan'))
|
dep_vulkan = dependency('vulkan', required: get_option('use_system_vulkan'))
|
||||||
|
dep_pthread = dependency('threads')
|
||||||
|
|
||||||
# Check for generic C arguments
|
# Check for generic C arguments
|
||||||
c_args = []
|
c_args = []
|
||||||
@ -183,8 +184,6 @@ else
|
|||||||
dep_dl = cc.find_library('dl')
|
dep_dl = cc.find_library('dl')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dep_pthread = cc.find_library('pthread')
|
|
||||||
|
|
||||||
if dep_vulkan.found()
|
if dep_vulkan.found()
|
||||||
vulkan_headers = []
|
vulkan_headers = []
|
||||||
datadir = get_option('datadir')
|
datadir = get_option('datadir')
|
||||||
|
Loading…
Reference in New Issue
Block a user