diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2017-08-13 13:07:05 +0300 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2017-08-17 06:09:37 +0300 |
commit | ea1554915bcc3751eda037f5b6bf8ca2404a1319 (patch) | |
tree | ed90f1c89f4f1900d5b7c61f453065d7842dad5e /CMakeLists.txt | |
parent | 6f9224784e962ac2cd172e4845d19eef58a4293f (diff) |
:bug: Use correct ZLib include path
Fixes #801
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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 <zlib.h> |