From 4de64666d030ab2f0243cc49bde79122711bc0a4 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 6 Dec 2022 12:23:09 -0500 Subject: [PATCH] feat(libretro): ios compile settings --- CMakeLists.txt | 4 ++++ libretro/CMakeLists.txt | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a9173ed37..90cd57ace1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1316,6 +1316,10 @@ if(ANDROID) endif() endif() +if (IOS) + set(nativeExtra ${nativeExtra} ${NativeAppSource}) +endif() + add_library(native STATIC ${nativeExtra} Common/Render/Text/draw_text_qt.cpp diff --git a/libretro/CMakeLists.txt b/libretro/CMakeLists.txt index 69efea8980..d04cc155e5 100644 --- a/libretro/CMakeLists.txt +++ b/libretro/CMakeLists.txt @@ -22,6 +22,10 @@ if(ANDROID) endif() if(NOT MSVC) - target_link_libraries(ppsspp_libretro "-Wl,-Bsymbolic") + if (IOS) + target_link_libraries(ppsspp_libretro "-Wl") + else() + target_link_libraries(ppsspp_libretro "-Wl,-Bsymbolic") + endif() endif() target_link_libraries(ppsspp_libretro ${LinkCommon})