Statically link to CoreGraphics and Metal on iOS
This commit is contained in:
parent
e910425dc5
commit
d1e4e1aff5
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,8 @@ find_library(CFNETWORK CFNetwork)
|
||||||
find_library(SYSTEMCONFIGURATION SystemConfiguration)
|
find_library(SYSTEMCONFIGURATION SystemConfiguration)
|
||||||
find_library(GAMECONTROLLER GameController)
|
find_library(GAMECONTROLLER GameController)
|
||||||
find_library(QUARTZ QuartzCore)
|
find_library(QUARTZ QuartzCore)
|
||||||
|
find_library(METAL Metal)
|
||||||
|
find_library(CORE_GRAPHICS CoreGraphics)
|
||||||
|
|
||||||
add_platform(
|
add_platform(
|
||||||
MAIN_FILE
|
MAIN_FILE
|
||||||
|
@ -48,6 +50,8 @@ add_platform(
|
||||||
${SYSTEMCONFIGURATION}
|
${SYSTEMCONFIGURATION}
|
||||||
${GAMECONTROLLER}
|
${GAMECONTROLLER}
|
||||||
${QUARTZ}
|
${QUARTZ}
|
||||||
|
${METAL}
|
||||||
|
${CORE_GRAPHICS}
|
||||||
GFXVulkan
|
GFXVulkan
|
||||||
COMPILE_OPTIONS
|
COMPILE_OPTIONS
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue