From ab9c9ea7ea19f1fae95be555ff4e81254abe408a Mon Sep 17 00:00:00 2001 From: jackun Date: Sun, 22 Mar 2020 02:44:17 +0200 Subject: [PATCH] Meson recommends using 'threads' dependency instead of 'pthread' --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 2a17132..ee12798 100644 --- a/meson.build +++ b/meson.build @@ -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')