aboutsummaryrefslogtreecommitdiff
path: root/cmake/platforms/iOS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platforms/iOS.cmake')
-rw-r--r--cmake/platforms/iOS.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/platforms/iOS.cmake b/cmake/platforms/iOS.cmake
index 99692fd6d2aa..15c7aae12c70 100644
--- a/cmake/platforms/iOS.cmake
+++ b/cmake/platforms/iOS.cmake
@@ -4,6 +4,7 @@ SET(CMAKE_SYSTEM_NAME Darwin)
SET(CMAKE_SYSTEM_VERSION 13)
SET(CMAKE_CXX_COMPILER_WORKS True)
SET(CMAKE_C_COMPILER_WORKS True)
+SET(IOS True)
if(NOT CMAKE_OSX_SYSROOT)
execute_process(COMMAND xcodebuild -version -sdk iphoneos Path