diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-02-24 20:59:27 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-02-24 20:59:27 (GMT) |
commit | 251a65e448975121d51d4f2a09750237bbf4209d (patch) | |
tree | 165164f17caa7ef25b81443216f26eb6fa73df65 /config/cmake/HDFMacros.cmake | |
parent | 982812004b2aacf364160b865b879eacb92655f6 (diff) | |
download | hdf5-251a65e448975121d51d4f2a09750237bbf4209d.zip hdf5-251a65e448975121d51d4f2a09750237bbf4209d.tar.gz hdf5-251a65e448975121d51d4f2a09750237bbf4209d.tar.bz2 |
[svn-r20155] Change macros - do not need URL parameter
Diffstat (limited to 'config/cmake/HDFMacros.cmake')
-rw-r--r-- | config/cmake/HDFMacros.cmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake index 045d5f0..954713e 100644 --- a/config/cmake/HDFMacros.cmake +++ b/config/cmake/HDFMacros.cmake @@ -4,13 +4,13 @@ MACRO (SET_GLOBAL_VARIABLE name value) ENDMACRO (SET_GLOBAL_VARIABLE) #------------------------------------------------------------------------------- -MACRO (EXTERNAL_JPEG_LIBRARY compress_type lib_url jpeg_pic) +MACRO (EXTERNAL_JPEG_LIBRARY compress_type jpeg_pic) # May need to build JPEG with PIC on x64 machines with gcc # Need to use CMAKE_ANSI_CFLAGS define so that compiler test works IF (${compress_type} MATCHES "SVN") EXTERNALPROJECT_ADD (JPEG - SVN_REPOSITORY ${lib_url} + SVN_REPOSITORY ${JPEG_URL} # [SVN_REVISION rev] INSTALL_COMMAND "" CMAKE_ARGS @@ -20,7 +20,7 @@ MACRO (EXTERNAL_JPEG_LIBRARY compress_type lib_url jpeg_pic) ) ELSEIF (${compress_type} MATCHES "TGZ") EXTERNALPROJECT_ADD (JPEG - URL ${lib_url} + URL ${JPEG_URL} URL_MD5 "" INSTALL_COMMAND "" CMAKE_ARGS @@ -59,10 +59,10 @@ MACRO (PACKAGE_JPEG_LIBRARY compress_type) ENDMACRO (PACKAGE_JPEG_LIBRARY) #------------------------------------------------------------------------------- -MACRO (EXTERNAL_SZIP_LIBRARY compress_type lib_url libtype encoding) +MACRO (EXTERNAL_SZIP_LIBRARY compress_type libtype encoding) IF (${compress_type} MATCHES "SVN") EXTERNALPROJECT_ADD (SZIP - SVN_REPOSITORY ${lib_url} + SVN_REPOSITORY ${SZIP_SVN_URL} # [SVN_REVISION rev] INSTALL_COMMAND "" CMAKE_ARGS @@ -71,7 +71,7 @@ MACRO (EXTERNAL_SZIP_LIBRARY compress_type lib_url libtype encoding) ) ELSEIF (${compress_type} MATCHES "TGZ") EXTERNALPROJECT_ADD (SZIP - URL ${lib_url} + URL ${SZIP_SVN_URL} URL_MD5 "" INSTALL_COMMAND "" CMAKE_ARGS @@ -129,10 +129,10 @@ MACRO (PACKAGE_SZIP_LIBRARY compress_type libtype) ENDMACRO (PACKAGE_SZIP_LIBRARY) #------------------------------------------------------------------------------- -MACRO (EXTERNAL_ZLIB_LIBRARY compress_type lib_url libtype) +MACRO (EXTERNAL_ZLIB_LIBRARY compress_type libtype) IF (${compress_type} MATCHES "SVN") EXTERNALPROJECT_ADD (ZLIB - SVN_REPOSITORY ${lib_url} + SVN_REPOSITORY ${ZLIB_URL} # [SVN_REVISION rev] INSTALL_COMMAND "" CMAKE_ARGS @@ -141,7 +141,7 @@ MACRO (EXTERNAL_ZLIB_LIBRARY compress_type lib_url libtype) ) ELSEIF (${compress_type} MATCHES "TGZ") EXTERNALPROJECT_ADD (ZLIB - URL ${lib_url} + URL ${ZLIB_URL} URL_MD5 "" INSTALL_COMMAND "" CMAKE_ARGS |