From 63e5b5bc0fac254323564bc51f87e2bb4a6ebe16 Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 17 Jan 2016 23:04:08 -0500 Subject: [PATCH] Fix ZLIB_ROOT on Windows --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 891a130db..1464306e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,8 +175,9 @@ endif() # find and make available libz if(NOT UNIX) SET(ZLIB_ROOT depends/zlib/) +else() + set(ZLIB_ROOT /usr/lib/i386-linux-gnu) endif() -set(ZLIB_ROOT /usr/lib/i386-linux-gnu) find_package(ZLIB REQUIRED) include_directories(depends/protobuf) include_directories(depends/lua/include)