summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/cmake/HDFMacros.cmake2
-rwxr-xr-xrelease_docs/CMake.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake
index 36f0a2b..e311277 100644
--- a/config/cmake/HDFMacros.cmake
+++ b/config/cmake/HDFMacros.cmake
@@ -268,7 +268,7 @@ MACRO (EXTERNAL_ZLIB_LIBRARY compress_type libtype)
SET (ZLIB_LIBRARY "zlib")
SET (ZLIB_INCLUDE_DIR_GEN "${BINARY_DIR}")
- SET (ZLIB_INCLUDE_DIR "${SOURCE_DIR}/src")
+ SET (ZLIB_INCLUDE_DIR "${SOURCE_DIR}")
SET (ZLIB_FOUND 1)
SET (ZLIB_LIBRARIES ${ZLIB_LIBRARY})
SET (ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR_GEN} ${ZLIB_INCLUDE_DIR})
diff --git a/release_docs/CMake.txt b/release_docs/CMake.txt
index 44a9d28..6ee7243 100755
--- a/release_docs/CMake.txt
+++ b/release_docs/CMake.txt
@@ -105,8 +105,8 @@ Notes: This short instruction is written for users who want to quickly build
<options> is:
* SZIP_INCLUDE_DIR:PATH=<path to szip includes directory>
* SZIP_LIBRARY:FILEPATH=<path to szip/library file>
- * ZLIB_INCLUDE_DIR:PATH=<path to szip includes directory>
- * ZLIB_LIBRARY:FILEPATH=<path to szip/library file>
+ * ZLIB_INCLUDE_DIR:PATH=<path to zlib includes directory>
+ * ZLIB_LIBRARY:FILEPATH=<path to zlib/library file>
* <HDF5OPTION>:BOOL=[ON | OFF]
<cacheinit.cmake> is: