cp patches/paraview-3.10.1-ftgl.patch ${PRODUCT_SRC_DIR}
( cd ${PRODUCT_SRC_DIR} ; patch -p1 < paraview-3.10.1-ftgl.patch )
fi
+# 4. patch hang-up of the compiler on some platforms when building SurfaceLIC plug-in
+need_patch_surfaceLic=1
+if [ "${need_patch_surfaceLic}" == "1" ] ; then
+ test -f patches/surface_lic.png && cp -f patches/surface_lic.png ${PRODUCT_SRC_DIR}/Plugins/SurfaceLIC/doc
+fi
# to generate environment scripts
try_preinstalled
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON"
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON"
CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON"
-############# VSR: IN PARAVIEW 3.14.0 SWITCHING THIS PLUG-IN ON LEADS TO THE COMPILER HANG-UP ###################
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=OFF"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON"
### Mesa settings (if pre-installed) [OBSOLETE]
with_mesa=0