early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/exiv2/vcpkg-cmake-wrapper.cmake
vendored
Executable file
16
externals/vcpkg/ports/exiv2/vcpkg-cmake-wrapper.cmake
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
_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@)
|
||||
set_property(TARGET exiv2lib APPEND PROPERTY INTERFACE_LINK_LIBRARIES ${Intl_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user