ENDIF()
ENDIF()
-FIND_LIBRARY(CAS_FWOSPlugin FWOSPlugin PATH_SUFFIXES lib lin64/gcc/lib bin)
+IF(CAS_VERSION_STR VERSION_LESS "7.0.1")
+ FIND_LIBRARY(CAS_FWOSPlugin FWOSPlugin PATH_SUFFIXES lib lin64/gcc/lib bin)
+ELSE()
+ FIND_LIBRARY(CAS_TKStd TKStd PATH_SUFFIXES lib lin64/gcc/lib bin)
+ENDIF()
FIND_LIBRARY(CAS_TKBin TKBin PATH_SUFFIXES lib lin64/gcc/lib bin)
FIND_LIBRARY(CAS_TKBinL TKBinL PATH_SUFFIXES lib lin64/gcc/lib bin)
FIND_LIBRARY(CAS_TKBinTObj TKBinTObj PATH_SUFFIXES lib lin64/gcc/lib bin)
SET(CAS_TKCAF ${CAS_TKCAF_EA})
SET(_libs
- CAS_FWOSPlugin
CAS_TKBin
CAS_TKBinL
CAS_TKBinTObj
CAS_TKXSBase
)
+IF(CAS_VERSION_STR VERSION_LESS "7.0.1")
+ LIST(APPEND _libs CAS_FWOSPlugin)
+ELSE()
+ LIST(APPEND _libs CAS_TKStd)
+ENDIF()
+
IF(CAS_VERSION_STR VERSION_LESS "6.9.1")
LIST(APPEND _libs CAS_TKNIS)
ENDIF()
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(CAS CAS_INCLUDE_DIRS 1)
MARK_AS_ADVANCED(CAS_INCLUDE_DIRS
- CAS_BinLPlugin CAS_BinTObjPlugin CAS_BinXCAFPlugin CAS_FWOSPlugin CAS_PTKernel
+ CAS_BinLPlugin CAS_BinTObjPlugin CAS_BinXCAFPlugin CAS_PTKernel
CAS_StdLPlugin CAS_StdPlugin CAS_TKAdvTools CAS_TKBin CAS_TKBinL CAS_TKBinTObj
CAS_TKBinXCAF CAS_TKBO CAS_TKBool CAS_TKBRep CAS_TKCAF CAS_TKCDF CAS_TKernel
CAS_TKFeat CAS_TKFillet CAS_TKG2d CAS_TKG3d CAS_TKGeomAlgo CAS_TKGeomBase
CAS_TKXmlXCAF CAS_TKXSBase CAS_XCAFPlugin CAS_XmlLPlugin CAS_XmlPlugin CAS_XmlTObjPlugin
CAS_XmlXCAFPlugin CAS_Xmu)
+IF(CAS_VERSION_STR VERSION_LESS "7.0.1")
+ MARK_AS_ADVANCED(CAS_FWOSPlugin)
+ELSE()
+ MARK_AS_ADVANCED(CAS_TKStd)
+ENDIF()
IF(CAS_VERSION_STR VERSION_LESS "7.0")
SET(CAS_STDPLUGIN TKStdSchema)
ELSE()
SET(CAS_STDPLUGIN TKStd)
- SET(CAS_BINPLUGIN TKBin)\r
+ SET(CAS_BINPLUGIN TKBin)
ENDIF()
IF(CAS_FOUND)