fix(ios): mod loading below 14.5 being broken

due to wrong/not set ios version target

Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
rooot 2025-03-19 14:12:52 +01:00
parent 1f9ee5a535
commit 20772f78e4
No known key found for this signature in database
GPG key ID: 3582D7B034FF964F

View file

@ -46,6 +46,8 @@ if (GEODE_TARGET_PLATFORM STREQUAL "iOS")
if (NOT ${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
set(GEODE_TARGET_PLATFORM_SHORT "ios" PARENT_SCOPE)
# this is needed because else loading mods will fail below ios 14.5
set(CMAKE_OSX_DEPLOYMENT_TARGET "14.0" PARENT_SCOPE)
else()
set(GEODE_TARGET_PLATFORM_SHORT "ios")
endif()