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)