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 Manuel Pégourié-Gonnard
parent fcd362989c
commit 7c4a553baf

View file

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