From d113a9d60fafeb81560689bec0f3533fd495ef64 Mon Sep 17 00:00:00 2001 From: hasufell Date: Thu, 6 Mar 2014 15:46:06 +0100 Subject: [PATCH] CMake: fix zlib include dir ZLIB_INCLUDE_DIR was interpreted as a relative path from the working directory. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 908f7a4d0..4699a712b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ if(ENABLE_ZLIB_SUPPORT) find_package(ZLIB) if(ZLIB_FOUND) - include_directories(ZLIB_INCLUDE_DIR) + include_directories(${ZLIB_INCLUDE_DIR}) endif(ZLIB_FOUND) endif(ENABLE_ZLIB_SUPPORT)