[Paraview] Problems with hdf5_zlib.h: vtk_zlib.h is pointed instead
of zlib.h
Daniel Tourde
ted at foi.se
Fri Jul 21 05:36:10 EDT 2006
Hello,
I created the following patch, to try to solve the issue. It is not really
advanced but I hope it will help... ;)
It is for Paraview 2.4.4
It basically checkes within the PARAVIEW_USE_SYSTEM_HDF5 test, if one uses the
system zlib or not. It sets HDF5_ZLIB_HEADER accordingly.
Daniel
--- CMakeLists.txt 2006-07-21 11:11:23.000000000 +0200
+++ CMakeLists.txt.org 2006-06-29 15:01:13.000000000 +0200
@@ -382,11 +382,7 @@
SET(VTKHDF5_INSTALL_NO_RUNTIME ${PV_INSTALL_NO_RUNTIME})
SET(VTKHDF5_INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR})
SET(PARAVIEW_HDF5_LIBRARIES vtkhdf5)
- IF(VTK_USE_SYSTEM_ZLIB)
- SET(HDF5_ZLIB_HEADER "zlib.h")
- ELSE(VTK_USE_SYSTEM_ZLIB)
- SET(HDF5_ZLIB_HEADER "vtk_zlib.h")
- ENDIF(VTK_USE_SYSTEM_ZLIB)
+ SET(HDF5_ZLIB_HEADER "vtk_zlib.h")
SET(HDF5_INCLUDE_DIR
${ParaView_SOURCE_DIR}/Utilities/hdf5
${ParaView_BINARY_DIR}/Utilities/hdf5)
--
**********************************************************************
Daniel TOURDE E-mail : daniel.tourde at foi.se
Tel : +46 (0)8-55 50 32 12
Fax : +46 (0)8-55 50 30 68
Cellular : +46 (0)70-849 93 40
FOI, Swedish Defence Research Agency; Systemteknik
Department of Aviation Environmental Research
SE-164 90 Stockholm, Sweden
**********************************************************************
More information about the ParaView
mailing list