mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-12 15:10:33 +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
|
mkdir build-ios
|
||||||
cd 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
|
xcodebuild -target install -configuration Debug
|
||||||
````
|
````
|
||||||
|
@ -43,6 +43,10 @@ if(ANDROID)
|
|||||||
)
|
)
|
||||||
|
|
||||||
elseif(IOS)
|
elseif(IOS)
|
||||||
|
FIND_PATH( OPENGLES_INCLUDE_DIR
|
||||||
|
OpenGLES/ES2/gl.h
|
||||||
|
)
|
||||||
|
|
||||||
FIND_LIBRARY( OPENGLES_FRAMEWORKS OpenGLES )
|
FIND_LIBRARY( OPENGLES_FRAMEWORKS OpenGLES )
|
||||||
|
|
||||||
if(OPENGLES_FRAMEWORKS)
|
if(OPENGLES_FRAMEWORKS)
|
||||||
|
Loading…
Reference in New Issue
Block a user