mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 08:10:51 +08:00
12 lines
393 B
CMake
12 lines
393 B
CMake
|
_find_package(${ARGS})
|
||
|
|
||
|
if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
|
||
|
find_package(unofficial-iconv CONFIG REQUIRED)
|
||
|
find_package(unofficial-gettext CONFIG REQUIRED)
|
||
|
if(TARGET exiv2lib)
|
||
|
set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||
|
unofficial::iconv::libiconv
|
||
|
unofficial::gettext::libintl)
|
||
|
endif()
|
||
|
endif()
|