mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-27 11:44:59 +01: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)
|