summaryrefslogtreecommitdiff
path: root/Depends-iOS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Depends-iOS.cmake')
-rw-r--r--Depends-iOS.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/Depends-iOS.cmake b/Depends-iOS.cmake
new file mode 100644
index 00000000..013ee09a
--- /dev/null
+++ b/Depends-iOS.cmake
@@ -0,0 +1,21 @@
1message (STATUS "iOS dependency directory: ${IOS_DIR}")
2
3find_package (the_Foundation REQUIRED)
4
5set (SDL2_INCLUDE_DIRS ${IOS_DIR}/include/SDL2)
6set (SDL2_LDFLAGS
7 ${IOS_DIR}/lib/libSDL2.a
8 "-framework AudioToolbox"
9 "-framework AVFoundation"
10 "-framework CoreAudio"
11 "-framework CoreGraphics"
12 "-framework CoreHaptics"
13 "-framework CoreMotion"
14 "-framework Foundation"
15 "-framework Foundation"
16 "-framework GameController"
17 "-framework Metal"
18 "-framework OpenGLES"
19 "-framework QuartzCore"
20 "-framework UIKit"
21)