mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 13:29:00 +08:00
03766d0834
* [cgns] add port cgns * [paraview] add new port * [paraview] correct dependencies; disable catalyst * [VTK/ParaView] Make ParaView build * [paraview] add missing patch * [paraview] add cgns patch * [paraview] add qt plugin patches back in. Remove in the future * [vtk] slightly improved patches * [vtk] don't disable findPython * [paraview] add more features * [paraview] remove X11Extras from OSX * [vtk] make vtk workcorrectly with python and prepare for paraview with python * [paraview] Python fixes * [paraview] small bin -> lib replacement fix for static builds * [vtk] fix patch path * update baseline to exclude paraview for the time being on osx and linux. requires a fix in qt5-base linkage of libpq. * [paraview]try setting LD_LIBRARY_PATH for unix systems * [paraview] a bit of cleanup * update baseline * fix typo in baseline * [paraview] remove unnecessary patch * [vtk] replace custom patch with upstream patch * [paraview] cleanup in the portfile. * Update ports/paraview/CONTROL Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 46446da8a..cd05cf51a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -219,20 +221,10 @@ if (CGNS_ENABLE_HDF5)
|
|
endif (HDF5_FOUND)
|
|
|
|
set(HDF5_NEED_ZLIB "OFF" CACHE BOOL "Does the HDF5 library require linking to zlib?")
|
|
- if(HDF5_NEED_ZLIB)
|
|
- find_library(ZLIB_LIBRARY z)
|
|
- mark_as_advanced(CLEAR ZLIB_LIBRARY)
|
|
- else (HDF5_NEED_ZLIB)
|
|
- mark_as_advanced(FORCE ZLIB_LIBRARY)
|
|
- endif(HDF5_NEED_ZLIB)
|
|
+ set(HDF5_NEED_ZLIB ${HDF5_ENABLE_Z_LIB_SUPPORT} CACHE INTERNAL "" FORCE)
|
|
|
|
set(HDF5_NEED_SZIP "OFF" CACHE BOOL "Does the HDF5 library require linking to zlib?")
|
|
- if (HDF5_NEED_SZIP)
|
|
- find_library(SZIP_LIBRARY szip)
|
|
- mark_as_advanced(CLEAR SZIP_LIBRARY)
|
|
- else (HDF5_NEED_SZIP)
|
|
- mark_as_advanced(FORCE SZIP_LIBRARY)
|
|
- endif (HDF5_NEED_SZIP)
|
|
+ set(HDF5_NEED_SZIP ${HDF5_ENABLE_SZIP_SUPPORT} CACHE INTERNAL "" FORCE)
|
|
|
|
# Check if HDF5 version is 1.8 or greater
|
|
if (HDF5_VERSION VERSION_LESS "1.8.0")
|
|
@@ -240,6 +231,7 @@ if (CGNS_ENABLE_HDF5)
|
|
endif (HDF5_VERSION VERSION_LESS "1.8.0")
|
|
|
|
set(HDF5_NEED_MPI "OFF" CACHE BOOL "Does the HDF5 library require linking to mpi? (Only true if using parallel HDF5)")
|
|
+ set(HDF5_NEED_MPI ${HDF5_ENABLE_PARALLEL} CACHE INTERNAL "" FORCE)
|
|
set(MPI_INC)
|
|
set(MPI_LIBS)
|
|
if (HDF5_NEED_MPI)
|