]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the "0051780: TC7.2.0: GEOM data is not saved if SALOME is built with CMake...
authorrnv <rnv@opencascade.com>
Wed, 20 Mar 2013 11:03:46 +0000 (11:03 +0000)
committerrnv <rnv@opencascade.com>
Wed, 20 Mar 2013 11:03:46 +0000 (11:03 +0000)
adm_local/cmake_files/FindSalomeCAS.cmake
adm_local/cmake_files/deprecated/FindCAS.cmake

index b7cdf561bd101afe06cc61e28989496198aa8b28..bad0d77c421ce0a7b41f8f838262ef0c7f4612fe 100644 (file)
@@ -16,3 +16,11 @@ if(EXISTS ${CAS_ROOT_DIR})
   endif(WINDOWS)
 endif(EXISTS ${CAS_ROOT_DIR})
 find_package(CAS)
+
+IF(CAS_StdLPlugin)
+  SET(CAS_STDPLUGIN StdPlugin)
+ELSE(CAS_StdLPlugin)
+  IF(CAS_TKStdSchema)
+    SET(CAS_STDPLUGIN TKStdSchema)
+  ENDIF(CAS_TKStdSchema)
+ENDIF(CAS_StdLPlugin)
\ No newline at end of file
index cb41aacc580c37c06f640c5024b953acd30594ca..56a17530f0430fe886ee264c8a4afb40c8c388a5 100644 (file)
@@ -189,3 +189,11 @@ SET(TKIGES ${TKIGES_EA})
 SET(TKSTEP ${TKSTEP_EA})
 SET(TKSTL ${TKSTL_EA})
 SET(TKCAF ${TKCAF_EA})
+
+IF(StdPlugin)
+  SET(CAS_STDPLUGIN StdPlugin)
+ELSE(StdPlugin)
+  IF(TKStdLSchema)
+    SET(CAS_STDPLUGIN TKStdSchema)
+  ENDIF(TKStdLSchema)
+ENDIF(StdPlugin)
\ No newline at end of file