Merge pull request #873 from nyue/master

Fix find_package for zlib which requires all upper case ZLIB
This commit is contained in:
David G Yu 2016-10-13 09:35:24 -07:00 committed by GitHub
commit 923da7febc

View File

@ -315,7 +315,7 @@ if(NOT NO_OPENGL AND NOT ANDROID AND NOT IOS)
endif()
if(NOT NO_PTEX)
find_package(PTex 2.0)
find_package(Zlib 1.2)
find_package(ZLIB 1.2)
endif()
if (OPENGL_FOUND AND NOT IOS)
add_definitions(