CMake: fix zlib include dir
ZLIB_INCLUDE_DIR was interpreted as a relative path from the working directory.
This commit is contained in:
parent
fcd362989c
commit
7c4a553baf
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if(ENABLE_ZLIB_SUPPORT)
|
||||||
find_package(ZLIB)
|
find_package(ZLIB)
|
||||||
|
|
||||||
if(ZLIB_FOUND)
|
if(ZLIB_FOUND)
|
||||||
include_directories(ZLIB_INCLUDE_DIR)
|
include_directories(${ZLIB_INCLUDE_DIR})
|
||||||
endif(ZLIB_FOUND)
|
endif(ZLIB_FOUND)
|
||||||
endif(ENABLE_ZLIB_SUPPORT)
|
endif(ENABLE_ZLIB_SUPPORT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue