mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
b9595a2230
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)
|