summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2023-03-30 13:12:48 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2023-04-08 21:43:03 -0500
commitb9595a2230a0d6bb073c301e365d517cd8d9c8fa (patch)
treecae661162001e4e348388b0f54d0283dc6774b16 /Source/Core
parenteb6bf08170691bfee4577adcbbb9068ddd09b9ab (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index 8269290729..178799b888 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -156,7 +156,7 @@ PUBLIC
PRIVATE
${CURL_LIBRARIES}
FatFs
- ${ICONV_LIBRARIES}
+ Iconv::Iconv
${spng_target}
${VTUNE_LIBRARIES}
)