mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 13:58:59 +08:00
17 lines
478 B
CMake
17 lines
478 B
CMake
_find_package(${ARGS})
|
|
|
|
if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static")
|
|
find_package(Iconv REQUIRED)
|
|
if(@EXIV2_ENABLE_NLS@)
|
|
find_package(Intl REQUIRED)
|
|
endif()
|
|
if(TARGET exiv2lib)
|
|
set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
|
Iconv::Iconv
|
|
)
|
|
if(@EXIV2_ENABLE_NLS@)
|
|
target_link_libraries(exiv2lib INTERFACE ${Intl_LIBRARIES})
|
|
endif()
|
|
endif()
|
|
endif()
|