mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 10:46:28 +01:00

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
14 lines
248 B
CMake
14 lines
248 B
CMake
add_library(iconv STATIC
|
|
lib/iconv.c
|
|
lib/relocatable.c
|
|
libcharset/lib/localcharset.c
|
|
)
|
|
target_include_directories(iconv
|
|
PUBLIC
|
|
include
|
|
PRIVATE
|
|
libcharset/include
|
|
)
|
|
dolphin_disable_warnings_msvc(iconv)
|
|
add_library(Iconv::Iconv ALIAS iconv)
|