mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
png_loader meson: Remove dependency check using find_library()
meson's find_library() throws an error when the package cannot be found. png static library is added, so it should be passed when package is not found. Therefore, delete unnecessary find_library.
This commit is contained in:
parent
fcb0258b3c
commit
d3ba000d80
1 changed files with 0 additions and 4 deletions
|
@ -5,10 +5,6 @@ source_file = [
|
|||
|
||||
png_dep = dependency('libpng', required: false)
|
||||
|
||||
if not png_dep.found()
|
||||
png_dep = meson.get_compiler('cpp').find_library('libpng')
|
||||
endif
|
||||
|
||||
if png_dep.found()
|
||||
subloader_dep += [declare_dependency(
|
||||
include_directories : include_directories('.'),
|
||||
|
|
Loading…
Add table
Reference in a new issue