Fix ZLIB_ROOT on Windows

develop
lethosor 2016-01-17 23:04:08 -05:00
parent a7b2d5e38f
commit 63e5b5bc0f
1 changed files with 2 additions and 1 deletions

@ -175,8 +175,9 @@ endif()
# find and make available libz # find and make available libz
if(NOT UNIX) if(NOT UNIX)
SET(ZLIB_ROOT depends/zlib/) SET(ZLIB_ROOT depends/zlib/)
else()
set(ZLIB_ROOT /usr/lib/i386-linux-gnu)
endif() endif()
set(ZLIB_ROOT /usr/lib/i386-linux-gnu)
find_package(ZLIB REQUIRED) find_package(ZLIB REQUIRED)
include_directories(depends/protobuf) include_directories(depends/protobuf)
include_directories(depends/lua/include) include_directories(depends/lua/include)