CMake: fix zlib include dir

ZLIB_INCLUDE_DIR was interpreted as a relative path from the
working directory.
This commit is contained in:
hasufell 2014-03-06 15:46:06 +01:00 committed by Paul Bakker
parent 69ebf32725
commit d113a9d60f

View File

@ -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)