{
compil_script : 'ParaView-5.11.0.sh'
archive_info : {archive_name : "ParaView-5.11.0-08c5d057a8.tar.gz"}
- patches : []
- # patches : ['paraview.0003-ParaViewClient.patch',
- # 'paraview.0004-ParaView_hdf5.patch',
- # 'paraview.0005-ParaView_find_cgns.patch',
- # 'paraview.0006-ParaView_find_libxml2.patch',
- # 'paraview.0007-ParaView_find_freetype.patch',
- # 'paraview-5.9-VTKM_MPI.patch',
- # 'paraview.0010-ParaView_CATALYST_cmake.patch',
- # 'paraview.0008-ParaView_coincident_rendering.patch',
- # 'paraview.0011-ParaView_protobuf_crash.patch',
- # 'paraview.0015-Paraview_VTKM_ioss.patch',
- # 'paraview-5.9.0-gcc.11.0.patch',
- # 'paraview.0017-VTK-openMPI-if-devtoolset.patch',
- # 'paraview.0018-spns-26351-autoconvert.patch',
- # 'paraview.0019-spns-26344-VTK-OpenMP.patch',
- # 'paraview.0020.findMPI.patch',
- # 'paraview.0021-FindGDAL.patch'
- # ]
+ patches : ['paraview-5.11.0.p001-FindCGNS.patch']
depend : [
'Python',
'hdf5',
--- /dev/null
+--- ParaView-5.11.0-ref/VTK/CMake/FindCGNS.cmake 2022-09-19 11:31:41.000000000 +0200
++++ ParaView-5.11.0-new/VTK/CMake/FindCGNS.cmake 2022-09-28 15:31:01.103508098 +0200
+@@ -5,6 +5,10 @@
+ # CGNS_LIBRARIES - List of fully qualified libraries to link against when using CGNS.
+ # CGNS_FOUND - Do not attempt to use CGNS if "no" or undefined.
+
++SET(CGNS_ROOT_DIR $ENV{CGNS_ROOT_DIR} CACHE PATH "Path to the CGNS.")
++IF(CGNS_ROOT_DIR)
++ LIST(APPEND CMAKE_PREFIX_PATH "${CGNS_ROOT_DIR}")
++ENDIF(CGNS_ROOT_DIR)
+ find_path(CGNS_INCLUDE_DIR
+ NAMES
+ cgnslib.h