From 8eb55f889097937852eb831621beb2a341550dee Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 13 Nov 2012 09:28:06 +0000 Subject: [PATCH] Fix mistake in OCCT check procedure that makes problems of usage OCCT built by WOK --- salome_adm/unix/config_files/check_cas.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salome_adm/unix/config_files/check_cas.m4 b/salome_adm/unix/config_files/check_cas.m4 index 7646fd377..98fa0bc5d 100644 --- a/salome_adm/unix/config_files/check_cas.m4 +++ b/salome_adm/unix/config_files/check_cas.m4 @@ -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" -- 2.39.2