Fixing iOS build

This commit is contained in:
stopiccot 2014-12-08 12:12:19 +03:00
parent 6d9cdf90a3
commit 28799f5135
2 changed files with 5 additions and 1 deletions

View File

@ -188,7 +188,7 @@ You can then use CMake to configure and generate an Xcode project:
````
mkdir build-ios
cd build-ios
cmake -DCMAKE_TOOLCHAIN_FILE=[path to iOS.cmake] -GXcode ..
cmake -DNO_CUDA=1 -DCMAKE_TOOLCHAIN_FILE=[path to iOS.cmake] -GXcode ..
xcodebuild -target install -configuration Debug
````

View File

@ -43,6 +43,10 @@ if(ANDROID)
)
elseif(IOS)
FIND_PATH( OPENGLES_INCLUDE_DIR
OpenGLES/ES2/gl.h
)
FIND_LIBRARY( OPENGLES_FRAMEWORKS OpenGLES )
if(OPENGLES_FRAMEWORKS)