mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r20151] On windows the name of static zlib library is dependent on the use of HDF_LEGACY_NAMING value when built from SVN/TGZ source.
This commit is contained in:
parent
85304e9fee
commit
be50f4a424
@ -516,13 +516,13 @@ IF (HDF5_ENABLE_Z_LIB_SUPPORT)
|
||||
ENDIF (WIN32 AND NOT MINGW)
|
||||
ELSE (BUILD_SHARED_LIBS)
|
||||
IF (WIN32 AND NOT MINGW)
|
||||
SET (ZLIB_LIBRARY
|
||||
"${BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/zlib${CMAKE_STATIC_LIBRARY_SUFFIX}"
|
||||
)
|
||||
IF (HDF_LEGACY_NAMING)
|
||||
SET (ZLIB_LIBRARY "${BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/zlib${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
ELSE (HDF_LEGACY_NAMING)
|
||||
SET (ZLIB_LIBRARY "${BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/libzlib${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
ENDIF (HDF_LEGACY_NAMING)
|
||||
ELSE (WIN32 AND NOT MINGW)
|
||||
SET (ZLIB_LIBRARY
|
||||
"${BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/libz${CMAKE_STATIC_LIBRARY_SUFFIX}"
|
||||
)
|
||||
SET (ZLIB_LIBRARY "${BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/libz${CMAKE_STATIC_LIBRARY_SUFFIX}")
|
||||
ENDIF (WIN32 AND NOT MINGW)
|
||||
ENDIF (BUILD_SHARED_LIBS)
|
||||
SET (ZLIB_INCLUDE_DIR_GEN
|
||||
|
Loading…
Reference in New Issue
Block a user