Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-08-13 13:07:05 +0300
committerYen Chi Hsuan <yan12125@gmail.com>2017-08-17 06:09:37 +0300
commitea1554915bcc3751eda037f5b6bf8ca2404a1319 (patch)
treeed90f1c89f4f1900d5b7c61f453065d7842dad5e /CMakeLists.txt
parent6f9224784e962ac2cd172e4845d19eef58a4293f (diff)
:bug: Use correct ZLib include path
Fixes #801
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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>