Salome HOME
Porting to Paraview 5.8
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / CMakeLists.txt
index 0a5b045fd5a9472de1f4ef81e056cdebdcb99ed1..22631576df24569e27667302e2231dfca097e1a3 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2019  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,8 +22,8 @@
 INCLUDE_DIRECTORIES(
   ${KERNEL_INCLUDE_DIRS}
   ${GEOM_INCLUDE_DIRS}
-  ${CAS_INCLUDE_DIRS}
-  ${VTK_INCLUDE_DIRS}
+  ${OpenCASCADE_INCLUDE_DIR}
+  ${MESHGEMS_INCLUDE_DIRS}
   ${SMESH_INCLUDE_DIRS}
   ${OMNIORB_INCLUDE_DIR}
   ${Boost_INCLUDE_DIRS}
@@ -33,19 +33,20 @@ INCLUDE_DIRECTORIES(
 # 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}
-  ${CAS_TKCDF}
+  TKBRep
+  TKG2d
+  TKG3d
+  TKTopAlgo
+  TKGeomBase
+  TKGeomAlgo
+  TKCDF
+  ${MESHGEMS_TETRA_HPC_LIBRARY}
   ${SMESH_SMESHimpl}
   ${SMESH_SMESHEngine}
   ${SMESH_SMESHDS}
@@ -69,6 +70,7 @@ SET(GHS3DPRLEngine_HEADERS
   GHS3DPRLPlugin_GHS3DPRL_i.hxx
   GHS3DPRLPlugin_Hypothesis.hxx
   GHS3DPRLPlugin_Hypothesis_i.hxx
+  MG_TetraHPC_API.hxx
 )
 
 # --- sources ---
@@ -85,6 +87,7 @@ SET(GHS3DPRLEngine_SOURCES
   GHS3DPRLPlugin_Hypothesis_i.hxx
   GHS3DPRLPlugin_Hypothesis_i.cxx
   GHS3DPRLPlugin_i.cxx
+  MG_TetraHPC_API.cxx
 )
 
 # --- scripts ---