]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix mistake in OCCT check procedure that makes problems of usage OCCT built by WOK
authorvsr <vsr@opencascade.com>
Tue, 13 Nov 2012 09:28:06 +0000 (09:28 +0000)
committervsr <vsr@opencascade.com>
Tue, 13 Nov 2012 09:28:06 +0000 (09:28 +0000)
salome_adm/unix/config_files/check_cas.m4

index 7646fd377d561ac27ae894d1df570b6303d9f0ae..98fa0bc5d4f92346edaf6279dd8f334d66d71b38 100644 (file)
@@ -240,11 +240,11 @@ else
   CAS_OCAF="$CAS_LDPATH -lPTKernel -lTKernel -lTKCDF -lTKLCAF -lTKPCAF -lTKStdSchema"
   CAS_OCAFVIS="$CAS_LDPATH -lTKCAF -lTKPLCAF -lTKPShape -lTKStdLSchema -lTKShapeSchema"
 
-  if test -f $CASROOT/$casdir/lib/libStdPlugin.so ; then
+  if test -f ${CAS_LIBDIR}/libStdPlugin.so ; then
     # standard plugin library libStdPlugin has been added in CASCADE 5.2.3
     CAS_STDPLUGIN="StdPlugin"
     CAS_OCAFVIS="$CAS_OCAFVIS -lStdPlugin -lStdLPlugin"
-  elif test -f $CASROOT/$casdir/lib/libTKStdSchema.so ; then
+  elif test -f ${CAS_LIBDIR}/libTKStdSchema.so ; then
     # standard plugin has been renamed in CASCADE 6.5
     CAS_STDPLUGIN=TKStdSchema
     CAS_OCAFVIS="$CAS_OCAFVIS -lTKStdSchema -lTKStdLSchema"