🐛 Use correct ZLib include path

Fixes #801
This commit is contained in:
Yen Chi Hsuan 2017-08-13 18:07:05 +08:00
parent 6f9224784e
commit ea1554915b

View File

@ -225,6 +225,8 @@ find_package(Gcrypt 1.6.0 REQUIRED)
find_package(ZLIB REQUIRED) find_package(ZLIB REQUIRED)
set(CMAKE_REQUIRED_INCLUDES ${ZLIB_INCLUDE_DIR})
check_cxx_source_compiles(" check_cxx_source_compiles("
#include <zlib.h> #include <zlib.h>