ENDIF()
FIND_LIBRARY(CAS_FWOSPlugin FWOSPlugin )
-FIND_LIBRARY(CAS_PTKernel PTKernel )
FIND_LIBRARY(CAS_TKBin TKBin )
FIND_LIBRARY(CAS_TKBinL TKBinL )
FIND_LIBRARY(CAS_TKBinTObj TKBinTObj )
ENDIF()
FIND_LIBRARY(CAS_TKOffset TKOffset )
FIND_LIBRARY(CAS_TKOpenGl TKOpenGl )
-FIND_LIBRARY(CAS_TKPCAF TKPCAF )
-FIND_LIBRARY(CAS_TKPLCAF TKPLCAF )
FIND_LIBRARY(CAS_TKPrim TKPrim )
-FIND_LIBRARY(CAS_TKPShape TKPShape )
FIND_LIBRARY(CAS_TKService TKService )
-FIND_LIBRARY(CAS_TKShapeSchema TKShapeSchema )
FIND_LIBRARY(CAS_TKShHealing TKShHealing )
-FIND_LIBRARY(CAS_TKStdLSchema TKStdLSchema )
-FIND_LIBRARY(CAS_TKStdSchema TKStdSchema )
FIND_LIBRARY(CAS_TKSTEP TKSTEP )
FIND_LIBRARY(CAS_TKSTEP209 TKSTEP209 )
FIND_LIBRARY(CAS_TKSTEPAttr TKSTEPAttr )
FIND_LIBRARY(CAS_TKV3d TKV3d )
FIND_LIBRARY(CAS_TKVRML TKVRML )
FIND_LIBRARY(CAS_TKXCAF TKXCAF )
-FIND_LIBRARY(CAS_TKXCAFSchema TKXCAFSchema )
FIND_LIBRARY(CAS_TKXDEIGES TKXDEIGES )
FIND_LIBRARY(CAS_TKXDESTEP TKXDESTEP )
FIND_LIBRARY(CAS_TKXMesh TKXMesh )
FIND_LIBRARY(CAS_TKXmlXCAF TKXmlXCAF )
FIND_LIBRARY(CAS_TKXSBase TKXSBase )
+IF(CAS_VERSION_STR VERSION_LESS "7.0")
+ FIND_LIBRARY(CAS_PTKernel PTKernel )
+ FIND_LIBRARY(CAS_TKPCAF TKPCAF )
+ FIND_LIBRARY(CAS_TKPLCAF TKPLCAF )
+ FIND_LIBRARY(CAS_TKPShape TKPShape )
+ FIND_LIBRARY(CAS_TKShapeSchema TKShapeSchema )
+ FIND_LIBRARY(CAS_TKStdLSchema TKStdLSchema )
+ FIND_LIBRARY(CAS_TKStdSchema TKStdSchema )
+ FIND_LIBRARY(CAS_TKXCAFSchema TKXCAFSchema )
+ENDIF()
+
SET(CAS_KERNEL ${CAS_TKernel} ${CAS_TKMath})
SET(CAS_OCAF ${CAS_TKernel} ${CAS_TKMath} ${CAS_TKCDF} ${CAS_TKLCAF})
SET(CAS_VIEWER ${CAS_TKService} ${CAS_TKV3d} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKBRep})
SET(_libs
CAS_FWOSPlugin
- CAS_PTKernel
CAS_TKBin
CAS_TKBinL
CAS_TKBinTObj
CAS_TKMeshVS
CAS_TKOffset
CAS_TKOpenGl
- CAS_TKPCAF
- CAS_TKPLCAF
CAS_TKPrim
- CAS_TKPShape
CAS_TKService
- CAS_TKShapeSchema
CAS_TKShHealing
- CAS_TKStdLSchema
- CAS_TKStdSchema
CAS_TKSTEP
CAS_TKSTEP209
CAS_TKSTEPAttr
CAS_TKV3d
CAS_TKVRML
CAS_TKXCAF
- CAS_TKXCAFSchema
CAS_TKXDEIGES
CAS_TKXDESTEP
CAS_TKXMesh
LIST(APPEND _libs CAS_TKNIS)
ENDIF()
+IF(CAS_VERSION_STR VERSION_LESS "7.0")
+ LIST(APPEND _libs
+ CAS_PTKernel
+ CAS_TKPCAF
+ CAS_TKPLCAF
+ CAS_TKPShape
+ CAS_TKShapeSchema
+ CAS_TKStdLSchema
+ CAS_TKStdSchema
+ CAS_TKXCAFSchema
+ )
+ENDIF()
+
+
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CAS REQUIRED_VARS CAS_INCLUDE_DIRS ${_libs})