mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +00:00
infra: excluding pthread lib dependency on windows os
This commit is contained in:
parent
cfacdd705f
commit
c5430684d1
1 changed files with 5 additions and 2 deletions
|
@ -21,8 +21,11 @@ subdir('loaders')
|
||||||
subdir('savers')
|
subdir('savers')
|
||||||
subdir('bindings')
|
subdir('bindings')
|
||||||
|
|
||||||
|
thorvg_lib_dep = [common_dep, loader_dep, saver_dep, binding_dep]
|
||||||
|
if host_machine.system() != 'windows'
|
||||||
thread_dep = meson.get_compiler('cpp').find_library('pthread')
|
thread_dep = meson.get_compiler('cpp').find_library('pthread')
|
||||||
thorvg_lib_dep = [common_dep, loader_dep, saver_dep, binding_dep, thread_dep]
|
thorvg_lib_dep += [thread_dep]
|
||||||
|
endif
|
||||||
|
|
||||||
thorvg_lib = library(
|
thorvg_lib = library(
|
||||||
'thorvg',
|
'thorvg',
|
||||||
|
|
Loading…
Add table
Reference in a new issue