mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
Fixing iOS build
This commit is contained in:
parent
6d9cdf90a3
commit
28799f5135
@ -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
|
||||
````
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user