mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 13:23:50 -04:00
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:
parent
1f9ee5a535
commit
20772f78e4
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue