mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 17:29:03 +08:00
9 lines
446 B
CMake
9 lines
446 B
CMake
if (NOT TARGET unofficial::iconv::libiconv)
|
|
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()
|
|
endif()
|