ENDIF(SALOME_BUILD_GUI)
# OCCT
-FIND_PACKAGE(SalomeCAS REQUIRED)
+FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
# VTK
FIND_PACKAGE(SalomeVTK REQUIRED)
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
${KERNEL_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${BOOST_DEFINITIONS}
)
# libraries to link to
SET(_link_LIBRARIES
- ${CAS_TKBRep}
- ${CAS_TKPrim}
- ${CAS_TKG3d}
- ${CAS_TKG2d}
- ${CAS_TKTopAlgo}
- ${CAS_TKGeomBase}
- ${CAS_TKGeomAlgo}
- ${CAS_TKBool}
- ${CAS_TKBO}
+ TKBRep
+ TKPrim
+ TKG3d
+ TKG2d
+ TKTopAlgo
+ TKGeomBase
+ TKGeomAlgo
+ TKBool
+ TKBO
${KERNEL_SALOMELocalTrace}
${KERNEL_SALOMEBasics}
${PYTHON_LIBRARIES}
${OMNIORB_INCLUDE_DIR}
${LIBXML2_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${GUI_INCLUDE_DIRS}
ADD_DEFINITIONS(
${BOOST_DEFINITIONS}
${OMNIORB_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${KERNEL_DEFINITIONS}
)
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
${KERNEL_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${BOOST_DEFINITIONS}
)
SET(_link_LIBRARIES
${PYTHON_LIBRARIES}
${GEOM_GEOMBase}
- ${CAS_TKBRep}
- ${CAS_TKPrim}
- ${CAS_TKG3d}
- ${CAS_TKG2d}
- ${CAS_TKTopAlgo}
- ${CAS_TKGeomBase}
- ${CAS_TKGeomAlgo}
- ${CAS_TKBool}
- ${CAS_TKBO}
+ ${OpenCASCADE_ModelingData_LIBRARIES}
+ ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
${KERNEL_SALOMELocalTrace}
${KERNEL_SALOMEBasics}
HEXABLOCKEngine