aboutsummaryrefslogtreecommitdiff
path: root/ports/exiv2
diff options
context:
space:
mode:
Diffstat (limited to 'ports/exiv2')
-rw-r--r--ports/exiv2/CONTROL2
-rw-r--r--ports/exiv2/vcpkg-cmake-wrapper.cmake9
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/exiv2/CONTROL b/ports/exiv2/CONTROL
index 14be794c7..c9f5ecca4 100644
--- a/ports/exiv2/CONTROL
+++ b/ports/exiv2/CONTROL
@@ -1,6 +1,6 @@
Source: exiv2
Version: 0.27.3
-Port-Version: 2
+Port-Version: 3
Build-Depends: zlib, libiconv, gettext
Description: Image metadata library and tools
Homepage: https://www.exiv2.org
diff --git a/ports/exiv2/vcpkg-cmake-wrapper.cmake b/ports/exiv2/vcpkg-cmake-wrapper.cmake
index 76e941f20..ab71ccdb7 100644
--- a/ports/exiv2/vcpkg-cmake-wrapper.cmake
+++ b/ports/exiv2/vcpkg-cmake-wrapper.cmake
@@ -1,11 +1,12 @@
_find_package(${ARGS})
if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
- find_package(unofficial-iconv CONFIG REQUIRED)
- find_package(unofficial-gettext CONFIG REQUIRED)
+ find_package(Iconv REQUIRED)
+ find_package(Intl REQUIRED)
if(TARGET exiv2lib)
set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES
- unofficial::iconv::libiconv
- unofficial::gettext::libintl)
+ Iconv::Iconv
+ )
+ target_link_libraries(exiv2lib INTERFACE ${Intl_LIBRARIES})
endif()
endif()