Fix find_package for zlib which requires all upper case ZLIB

This commit is contained in:
Nicholas Yue 2016-10-01 12:41:33 -07:00 committed by David G Yu
parent b5d7e28aad
commit 1f6dc6c949

View File

@ -317,7 +317,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(