diff --git a/Natives/CMakeLists.txt b/Natives/CMakeLists.txt index 6a1fe9d2..1a1c2145 100644 --- a/Natives/CMakeLists.txt +++ b/Natives/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.6) project(PojavLauncher) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -target arm64-apple-ios -fcommon -fobjc-arc -ObjC") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -target arm64-apple-ios -fcommon -fobjc-arc -ObjC -F'${CMAKE_OSX_SYSROOT}/System/Cryptexes/OS/System/Library/Frameworks'") set(CMAKE_C_FLAGS_DEBUG "-funwind-tables -g") if("${CMAKE_HOST_SYSTEM_NAME}" MATCHES "Linux|^GNU$|Android")