summaryrefslogtreecommitdiff
path: root/Depends-iOS.cmake
blob: 96a2f584ba1ad699be552846ac6dfd2c2651b11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
message (STATUS "iOS dependency directory: ${IOS_DIR}")

find_package (the_Foundation REQUIRED)

set (SDL2_INCLUDE_DIRS ${IOS_DIR}/include/SDL2)
set (SDL2_LDFLAGS 
    ${IOS_DIR}/lib/libSDL2.a
    "-framework AudioToolbox"
    "-framework AVFoundation"
    "-framework AVFAudio"
    "-framework CoreAudio"
    "-framework CoreGraphics"
    "-framework CoreHaptics"
    "-framework CoreMotion"
    "-framework Foundation"
    "-framework Foundation"
    "-framework GameController"
    "-framework MediaPlayer"
    "-framework Metal"
    "-framework OpenGLES"
    "-framework QuartzCore"
    "-framework UIKit"
)

set (FRIBIDI_FOUND YES)
set (FRIBIDI_LIBRARIES ${IOS_DIR}/lib/libfribidi.a)

set (HARFBUZZ_FOUND YES)
set (HARFBUZZ_LIBRARIES ${IOS_DIR}/lib/libharfbuzz.a)
set (HARFBUZZ_INCLUDE_DIRS ${IOS_DIR}/include/harfbuzz)