summaryrefslogtreecommitdiffstats
path: root/cmake/platform/ios
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform/ios')
-rw-r--r--cmake/platform/ios/defines.txt1
-rw-r--r--cmake/platform/ios/ios.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/platform/ios/defines.txt b/cmake/platform/ios/defines.txt
new file mode 100644
index 0000000..d0989ea
--- /dev/null
+++ b/cmake/platform/ios/defines.txt
@@ -0,0 +1 @@
-DTARGET_POSIX -DTARGET_DARWIN -DTARGET_DARWIN_IOS -D_LINUX
diff --git a/cmake/platform/ios/ios.cmake b/cmake/platform/ios/ios.cmake
new file mode 100644
index 0000000..ab0f361
--- /dev/null
+++ b/cmake/platform/ios/ios.cmake
@@ -0,0 +1 @@
set(PLATFORM_REQUIRED_DEPS OpenGLES)