FIND_PACKAGE(SalomePyQt5 REQUIRED)
ENDIF()
# OCCT
-FIND_PACKAGE(SalomeCAS REQUIRED)
+FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
# Find GEOM
# ===========
# MedFile
FIND_PACKAGE(SalomeMEDFile REQUIRED)
-# OpenCASCADE
-FIND_PACKAGE(SalomeCAS REQUIRED)
-
# TBB
IF(FRONTTRACK_USE_TBB)
FIND_PACKAGE(SalomeTBB)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
${MEDFILE_INCLUDE_DIRS}
# additional preprocessor / compiler flags
ADD_DEFINITIONS(
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${BOOST_DEFINITIONS}
)
# libraries to link to
SET(_link_LIBRARIES
- ${CAS_TKShHealing}
- ${CAS_TKernel}
- ${CAS_TKBRep}
- ${CAS_TKG3d}
- ${CAS_TKTopAlgo}
- ${CAS_TKGeomBase}
- ${CAS_TKGeomAlgo}
+ ${OpenCASCADE_FoundationClasses_LIBRARIES}
+ ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
+ ${OpenCASCADE_ModelingData_LIBRARIES}
${GEOM_XAO}
${MEDCoupling_medloader}
${TBB_LIBS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDES}
- ${CAS_INCLUDE_DIRS}
+ ${OpenCASCADE_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${MEDFILE_INCLUDE_DIRS}
${HDF5_INCLUDE_DIRS}
ADD_DEFINITIONS(
${BOOST_DEFINITIONS}
${OMNIORB_DEFINITIONS}
- ${CAS_DEFINITIONS}
+ ${OpenCASCADE_DEFINITIONS}
${KERNEL_DEFINITIONS}
)