[Android] Add in a static libiconv library so non English games don't crash Dolphin Mobile.
This commit is contained in:
@@ -649,6 +649,15 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT ANDROID)
|
||||
check_lib(ICONV ICONV iconv.h)
|
||||
endif()
|
||||
if (NOT ICONV_FOUND)
|
||||
message("Using static iconv from Externals")
|
||||
include_directories(Externals/libiconv-1.14/include)
|
||||
add_subdirectory(Externals/libiconv-1.14)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT ANDROID)
|
||||
find_library(CL OpenCL)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-weak_framework,OpenCL")
|
||||
|
||||
Reference in New Issue
Block a user