From: vsr Date: Wed, 5 Oct 2011 14:33:52 +0000 (+0000) Subject: CASCADE 6.5 compatibility X-Git-Tag: Before_0020136~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=806ece75b2fa8f4a90a05246a958dfb870aa68a5;p=modules%2Fkernel.git CASCADE 6.5 compatibility --- diff --git a/salome_adm/unix/config_files/check_cas.m4 b/salome_adm/unix/config_files/check_cas.m4 index e4cabd5b8..470fc3df3 100644 --- a/salome_adm/unix/config_files/check_cas.m4 +++ b/salome_adm/unix/config_files/check_cas.m4 @@ -231,9 +231,13 @@ else CAS_OCAFVIS="$CAS_LDPATH -lTKCAF -lTKPLCAF -lTKPShape -lTKStdLSchema -lTKShapeSchema" if test -f $CASROOT/$casdir/lib/libStdPlugin.so ; then - # this libraries are only for CASCADE 5.2.3 + # 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 + # standard plugin has been renamed in CASCADE 6.5 + CAS_STDPLUGIN=TKStdSchema + CAS_OCAFVIS="$CAS_OCAFVIS -lTKStdSchema -lTKStdLSchema" fi CAS_TKV3d="$CAS_LDPATH -lTKV3d"