From 1f6dc6c94903f87db3ad79f7d52d396d01536b49 Mon Sep 17 00:00:00 2001 From: Nicholas Yue Date: Sat, 1 Oct 2016 12:41:33 -0700 Subject: [PATCH] Fix find_package for zlib which requires all upper case ZLIB --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49a25097..e09b7520 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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(