summaryrefslogtreecommitdiff
path: root/Depends-iOS.cmake
blob: 912251cae33a1ad50877ecf2948c571e11883367 (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
31
32
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"
)

pkg_check_modules (WEBP IMPORTED_TARGET libwebpdecoder)

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)