mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-28 17:15:57 +00:00
webp_loader: libwebp set to be a required depend
While building on windows (MinGW) no 'libwebp' was found, which resulted in build errors. The building process should have been stopp ed earlier for clarity.
This commit is contained in:
parent
afee0441f6
commit
dfb1a7e571
1 changed files with 6 additions and 8 deletions
|
@ -3,12 +3,10 @@ source_file = [
|
|||
'tvgWebpLoader.cpp',
|
||||
]
|
||||
|
||||
webp_dep = dependency('libwebp', required: false)
|
||||
webp_dep = dependency('libwebp', required: true)
|
||||
|
||||
if webp_dep.found()
|
||||
subloader_dep += [declare_dependency(
|
||||
include_directories : include_directories('.'),
|
||||
dependencies : webp_dep,
|
||||
sources : source_file
|
||||
)]
|
||||
endif
|
||||
subloader_dep += [declare_dependency(
|
||||
include_directories : include_directories('.'),
|
||||
dependencies : webp_dep,
|
||||
sources : source_file
|
||||
)]
|
Loading…
Add table
Reference in a new issue