From 0676f6b6769cfb52c800da1ac57ee88ce3a9acd0 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 4 Apr 2016 16:42:28 +0300 Subject: [PATCH] New OCAF doc reading/writing for OCCT7.0.0 --- salome_adm/cmake_files/FindSalomeCAS.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 100644 => 100755 salome_adm/cmake_files/FindSalomeCAS.cmake 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) -- 2.39.2