Salome HOME
Porting to ParaView 5.8
[modules/smesh.git] / src / SMDS / CMakeLists.txt
index 867e0b2df194abcbc508a3131744dfbe20e56125..015d9808f6748deb2d857d5216b3197476d212ba 100644 (file)
@@ -21,7 +21,6 @@
 # additional include directories
 INCLUDE_DIRECTORIES(
   ${KERNEL_INCLUDE_DIRS}
-  ${VTK_INCLUDE_DIRS}
   ${Boost_INCLUDE_DIRS}
 )
 
@@ -32,9 +31,10 @@ ADD_DEFINITIONS(
 
 # libraries to link to
 SET(_link_LIBRARIES
-  ${VTK_LIBRARIES}
   ${KERNEL_SALOMELocalTrace}
   ${KERNEL_OpUtil}
+  VTK::CommonCore
+  VTK::CommonDataModel
 )
 
 # --- headers ---