]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
New OCAF doc reading/writing for OCCT7.0.0 mpa/OCCT-7.0.0_Porting
authorskv <skv@opencascade.com>
Mon, 4 Apr 2016 13:42:28 +0000 (16:42 +0300)
committerskv <skv@opencascade.com>
Mon, 4 Apr 2016 13:42:28 +0000 (16:42 +0300)
salome_adm/cmake_files/FindSalomeCAS.cmake [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 51b63b4..322cdb2
@@ -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)\r
+ENDIF()
 
 IF(CAS_FOUND)
   SALOME_ACCUMULATE_HEADERS(CAS_INCLUDE_DIRS)