Closed WangWeiLin-MV closed 5 days ago
Thx !
@WangWeiLin-MV , does that new version of the patch actually fix the original bug ?
@vrabaud Yes, in my tests, it was generated correctly in packages/libavif_x64-windows-static/share/libavif/libavif-config.cmake
add_library(avif STATIC IMPORTED)
set_target_properties(avif PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
and invoke avifVersion()
successfully.
Great, thx !
Fix issue https://github.com/microsoft/vcpkg/issues/42112, error with
fatal error: 'avif/avif.h' file not found
that targetavif
(i.e.avif_static
) lostINTERFACE_INCLUDE_DIRECTORIES
for static build.Let
merge_static_libs.cmake
copyINTERFACE_INCLUDE_DIRECTORIES
too.