]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Correct path to the hdf and tcl libraries in *.cmake files
authorinv <inv@opencascade.com>
Thu, 23 Dec 2010 07:53:43 +0000 (07:53 +0000)
committerinv <inv@opencascade.com>
Thu, 23 Dec 2010 07:53:43 +0000 (07:53 +0000)
config_files/ParaView-3.9.sh

index 98f3cc442f0cd8ff266c5569da7f529442310b9d..94e163f5678339cc107bf8f2ab128c8acf4cd36a 100755 (executable)
@@ -212,7 +212,7 @@ check_jb tar xfz ${SOURCE_DIR}/../../SOURCES/ParaViewData-${PVVERSION}.tar.gz -C
 
 cd ${PRODUCT_DIR}
 
-for f in `find . -name *.cmake` ; do
+for f in `find . -name "*.cmake"` ; do
 sed -e "s%/[^\";]*/bin/moc%$QTDIR/bin/moc%g"     \
     -e "s%/[^\";]*/bin/uic%$QTDIR/bin/uic%g"     \
     -e "s%/[^\";]*/bin/rcc%$QTDIR/bin/rcc%g"     \
@@ -221,6 +221,10 @@ sed -e "s%/[^\";]*/bin/moc%$QTDIR/bin/moc%g"     \
     -e "s%/[^\";]*/lib64/libQt%$QTDIR/lib64/libQt%g" \
     -e "s%/[^\";]*/lib/python\([0-9].[0-9]\)/config/libpython%$PYTHONHOME/lib/python\1/config/libpython%g" \
     -e "s%/[^\";]*/include/python\([0-9].[0-9]\)%$PYTHONHOME/include/python\1%g" \
+    -e "s%/[^\";]*/tcltk[^/]*/include%${TCLHOME}/include%g" \
+    -e "s%/[^\";]*/tcltk[^/]*/lib%${TCLHOME}/lib%g" \
+    -e "s%/[^\";]*/lib/libhdf5.so%${HDF5HOME}/lib/libhdf5.so%g" \
+    -e "s%/[^\";]*/lib64/libhdf5.so%${HDF5HOME}/lib64/libhdf5.so%g" \
     ${f} > ${f}.new
     mv -f ${f}.new ${f}
 done