vcpkg/ports/libiconv/unofficial-iconv-config.cmake

6 lines
366 B
CMake
Raw Normal View History

add_library(unofficial::iconv::libcharset INTERFACE IMPORTED)
add_library(unofficial::iconv::libiconv INTERFACE IMPORTED)
if(APPLE)
set_property(TARGET unofficial::iconv::libcharset PROPERTY INTERFACE_LINK_LIBRARIES "charset;unofficial::iconv::libiconv")
set_property(TARGET unofficial::iconv::libiconv PROPERTY INTERFACE_LINK_LIBRARIES "iconv")
endif()