CMake: Use find_package and imported targets for Iconv

Fixes us forgetting to add its include directories, which could result in linking to a dylib from MacPorts while using the system's header, and failing to link because they use different function names
This commit is contained in:
TellowKrinkle
2023-03-30 13:12:48 -05:00
parent eb6bf08170
commit b9595a2230
3 changed files with 16 additions and 16 deletions

View File

@ -156,7 +156,7 @@ PUBLIC
PRIVATE
${CURL_LIBRARIES}
FatFs
${ICONV_LIBRARIES}
Iconv::Iconv
${spng_target}
${VTUNE_LIBRARIES}
)