From ea1554915bcc3751eda037f5b6bf8ca2404a1319 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sun, 13 Aug 2017 18:07:05 +0800 Subject: [PATCH] :bug: Use correct ZLib include path Fixes #801 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77dbd9579..6ebaf0a1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,8 @@ find_package(Gcrypt 1.6.0 REQUIRED) find_package(ZLIB REQUIRED) +set(CMAKE_REQUIRED_INCLUDES ${ZLIB_INCLUDE_DIR}) + check_cxx_source_compiles(" #include