ENDIF(SALOME_BUILD_GUI)
# OCCT
-FIND_PACKAGE(SalomeCAS REQUIRED)
+FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
#VTK
FIND_PACKAGE(SalomeVTK REQUIRED)
${SMESH_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(
${QT_DEFINITIONS}
${OMNIORB_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${BOOST_DEFINITIONS}
)
${GUI_suit}
${SMESH_SMESH}
${KERNEL_SALOMELocalTrace}
- ${CAS_KERNEL}
+ ${OpenCASCADE_FoundationClasses_LIBRARIES}
SalomeIDLHEXABLOCKPLUGIN
)
# additional include directories
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
${HEXABLOCK_INCLUDE_DIRS}
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
${OMNIORB_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${BOOST_DEFINITIONS}
)
# libraries to link to
SET(_link_LIBRARIES
- ${CAS_TKBRep}
- ${CAS_TKG2d}
- ${CAS_TKG3d}
- ${CAS_TKTopAlgo}
- ${CAS_TKGeomBase}
- ${CAS_TKGeomAlgo}
+ TKBRep
+ TKG2d
+ TKG3d
+ TKTopAlgo
+ TKGeomBase
+ TKGeomAlgo
${HEXABLOCK_HEXABLOCKEngine}
${SMESH_SMESHimpl}
${SMESH_SMESHEngine}