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
parent 3351beee6f
commit 569828d387

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(