Fix compiling with on-device iOS 16 SDK
A tiny fix for SDK having frameworks moved to Cryptexes.
This commit is contained in:
1 parent
9fb149e25a
commit
73ba8c0819
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user