diff options
| author | Kai Pastor <dg0yt@darc.de> | 2021-09-02 22:21:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 13:21:52 -0700 |
| commit | 9f73bc1a0e71b8883f20cae72a4e63ce347a3493 (patch) | |
| tree | 56793188593162588fe6e12874c2d505913509c8 /ports/exiv2 | |
| parent | bff0e8fc31e4e00a9c2f51b84c9b43bc46478729 (diff) | |
| download | vcpkg-9f73bc1a0e71b8883f20cae72a4e63ce347a3493.tar.gz vcpkg-9f73bc1a0e71b8883f20cae72a4e63ce347a3493.zip | |
Fix target_link_libraries on repeated inclusion of wrappers (#19120)
* Fix repeated inclusion of wrappers
* x-add-version
Diffstat (limited to 'ports/exiv2')
| -rw-r--r-- | ports/exiv2/vcpkg-cmake-wrapper.cmake | 2 | ||||
| -rw-r--r-- | ports/exiv2/vcpkg.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/exiv2/vcpkg-cmake-wrapper.cmake b/ports/exiv2/vcpkg-cmake-wrapper.cmake index 354a7909c..62f4ecca3 100644 --- a/ports/exiv2/vcpkg-cmake-wrapper.cmake +++ b/ports/exiv2/vcpkg-cmake-wrapper.cmake @@ -10,7 +10,7 @@ if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static") Iconv::Iconv
)
if(@EXIV2_ENABLE_NLS@)
- target_link_libraries(exiv2lib INTERFACE ${Intl_LIBRARIES})
+ set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES ${Intl_LIBRARIES})
endif()
endif()
endif()
diff --git a/ports/exiv2/vcpkg.json b/ports/exiv2/vcpkg.json index a043f83bf..5ed357690 100644 --- a/ports/exiv2/vcpkg.json +++ b/ports/exiv2/vcpkg.json @@ -1,7 +1,7 @@ { "name": "exiv2", "version": "0.27.4", - "port-version": 1, + "port-version": 2, "description": "Image metadata library and tools", "homepage": "https://www.exiv2.org", "supports": "!uwp", |
