Meson recommends using 'threads' dependency instead of 'pthread'

pull/109/head
jackun 4 years ago
parent f92a2a07db
commit ab9c9ea7ea
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -111,6 +111,7 @@ inc_common = [
]
dep_vulkan = dependency('vulkan', required: get_option('use_system_vulkan'))
dep_pthread = dependency('threads')
# Check for generic C arguments
c_args = []
@ -183,8 +184,6 @@ else
dep_dl = cc.find_library('dl')
endif
dep_pthread = cc.find_library('pthread')
if dep_vulkan.found()
vulkan_headers = []
datadir = get_option('datadir')

Loading…
Cancel
Save