From: skv Date: Mon, 4 Apr 2016 13:42:28 +0000 (+0300) Subject: New OCAF doc reading/writing for OCCT7.0.0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmpa%2FOCCT-7.0.0_Porting;p=modules%2Fkernel.git New OCAF doc reading/writing for OCCT7.0.0 --- diff --git a/salome_adm/cmake_files/FindSalomeCAS.cmake b/salome_adm/cmake_files/FindSalomeCAS.cmake old mode 100644 new mode 100755 index 51b63b40f..322cdb232 --- a/salome_adm/cmake_files/FindSalomeCAS.cmake +++ b/salome_adm/cmake_files/FindSalomeCAS.cmake @@ -38,7 +38,13 @@ MARK_AS_ADVANCED(CAS_INCLUDE_DIRS CAS_TKXmlXCAF CAS_TKXSBase CAS_XCAFPlugin CAS_XmlLPlugin CAS_XmlPlugin CAS_XmlTObjPlugin CAS_XmlXCAFPlugin CAS_Xmu) -SET(CAS_STDPLUGIN TKStd) + +IF(CAS_VERSION_STR VERSION_LESS "7.0") + SET(CAS_STDPLUGIN TKStdSchema) +ELSE() + SET(CAS_STDPLUGIN TKStd) + SET(CAS_BINPLUGIN TKBin) +ENDIF() IF(CAS_FOUND) SALOME_ACCUMULATE_HEADERS(CAS_INCLUDE_DIRS)