From 7c4a553bafc1eae37d8387603d0409f4681632dd 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 2d358359c..0be112edd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,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)