Don't require lib, it's optional
This commit is contained in:
parent
030b02345d
commit
40386a3415
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ endif()
|
||||||
INCLUDE_DIRECTORIES(../cockatrice/src)
|
INCLUDE_DIRECTORIES(../cockatrice/src)
|
||||||
|
|
||||||
# Libz is required to support zipped files
|
# Libz is required to support zipped files
|
||||||
FIND_PACKAGE(ZLIB REQUIRED)
|
FIND_PACKAGE(ZLIB)
|
||||||
IF(ZLIB_FOUND)
|
IF(ZLIB_FOUND)
|
||||||
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIRS})
|
INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIRS})
|
||||||
ADD_DEFINITIONS("-DHAS_ZLIB")
|
ADD_DEFINITIONS("-DHAS_ZLIB")
|
||||||
|
|
Loading…
Reference in a new issue