summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-24 19:45:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-24 19:45:12 (GMT)
commit982812004b2aacf364160b865b879eacb92655f6 (patch)
tree1f43f82d4843cd7e2d453c2194a7d574e8e89bfe /config/cmake
parent05dfc85de8e6da2fdf2bd816e86edcabddeacccc (diff)
downloadhdf5-982812004b2aacf364160b865b879eacb92655f6.zip
hdf5-982812004b2aacf364160b865b879eacb92655f6.tar.gz
hdf5-982812004b2aacf364160b865b879eacb92655f6.tar.bz2
[svn-r20154] Update error in szip ext project macro
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/HDFMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake
index 5f46b4c..045d5f0 100644
--- a/config/cmake/HDFMacros.cmake
+++ b/config/cmake/HDFMacros.cmake
@@ -66,7 +66,7 @@ MACRO (EXTERNAL_SZIP_LIBRARY compress_type lib_url libtype encoding)
# [SVN_REVISION rev]
INSTALL_COMMAND ""
CMAKE_ARGS
- -DBUILD_SHARED_LIBS:BOOL=${libtype}
+ -DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DSZIP_ENABLE_ENCODING:BOOL=${encoding}
)
ELSEIF (${compress_type} MATCHES "TGZ")
@@ -75,7 +75,7 @@ MACRO (EXTERNAL_SZIP_LIBRARY compress_type lib_url libtype encoding)
URL_MD5 ""
INSTALL_COMMAND ""
CMAKE_ARGS
- -DBUILD_SHARED_LIBS:BOOL=${libtype}
+ -DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DSZIP_ENABLE_ENCODING:BOOL=${encoding}
)
ENDIF (${compress_type} MATCHES "SVN")