From: rnv Date: Wed, 20 Mar 2013 11:03:46 +0000 (+0000) Subject: Fix for the "0051780: TC7.2.0: GEOM data is not saved if SALOME is built with CMake... X-Git-Tag: V6_main_FINAL~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e725a71d0efc708f7706820010d96de5815d8089;p=modules%2Fgui.git Fix for the "0051780: TC7.2.0: GEOM data is not saved if SALOME is built with CMake" bug. --- diff --git a/adm_local/cmake_files/FindSalomeCAS.cmake b/adm_local/cmake_files/FindSalomeCAS.cmake index b7cdf561b..bad0d77c4 100644 --- a/adm_local/cmake_files/FindSalomeCAS.cmake +++ b/adm_local/cmake_files/FindSalomeCAS.cmake @@ -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 diff --git a/adm_local/cmake_files/deprecated/FindCAS.cmake b/adm_local/cmake_files/deprecated/FindCAS.cmake index cb41aacc5..56a17530f 100644 --- a/adm_local/cmake_files/deprecated/FindCAS.cmake +++ b/adm_local/cmake_files/deprecated/FindCAS.cmake @@ -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