mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 00:19:01 +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()
|