]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
OpenCASCADE Cmake configuration: continuation rnv/opencasacade_cmake_config
authorrnv <rnv@opencascade.com>
Wed, 31 Jan 2018 13:27:08 +0000 (16:27 +0300)
committerrnv <rnv@opencascade.com>
Wed, 31 Jan 2018 13:27:08 +0000 (16:27 +0300)
CMakeLists.txt
src/FrontTrack/CMakeLists.txt

index 77ce5de8003185e5eab199c4429bba1f0f7fde50..65290ca1791b4b00c22409558f8e3fd9a37f0301 100755 (executable)
@@ -191,9 +191,6 @@ ENDIF(EXISTS ${SMESH_ROOT_DIR})
 # MedFile
 FIND_PACKAGE(SalomeMEDFile REQUIRED)
 
-# OpenCASCADE
-FIND_PACKAGE(SalomeCAS REQUIRED)
-
 # TBB
 IF(FRONTTRACK_USE_TBB)
   FIND_PACKAGE(SalomeTBB)
index 8f4969789a9949549c44b008fa28e3b08e8be9d6..f22855b5dca784a92b543e4fbf4fe2da2faa2a6d 100755 (executable)
@@ -1,7 +1,7 @@
 # --- options ---
 # additional include directories
 INCLUDE_DIRECTORIES(
-  ${CAS_INCLUDE_DIRS}
+  ${OpenCASCADE_INCLUDE_DIR}
   ${Boost_INCLUDE_DIRS}
   ${GEOM_INCLUDE_DIRS}
   ${MEDFILE_INCLUDE_DIRS}
@@ -11,7 +11,7 @@ INCLUDE_DIRECTORIES(
 
 # additional preprocessor / compiler flags
 ADD_DEFINITIONS(
-  ${CAS_DEFINITIONS}
+  ${OpenCASCADE_DEFINITIONS}
   ${BOOST_DEFINITIONS}
 )
 
@@ -21,13 +21,9 @@ ENDIF(FRONTTRACK_USE_TBB)
 
 # 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}