X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FCMakeLists.txt;h=f3e2f44905682d14ce0cf2bfce6adcf64b0d5862;hb=048762b237a834b3c3d43cc72f83eadebf156e75;hp=8f31976f01dec73eb86872866df387c9f2917cae;hpb=76ead36bb3984a13d8028030e86e8dd27ff784ce;p=modules%2Fsmesh.git diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 8f31976f0..f3e2f4490 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -17,6 +17,8 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +find_package(ParaView REQUIRED) + # --- options --- # additional include directories INCLUDE_DIRECTORIES( @@ -26,7 +28,6 @@ INCLUDE_DIRECTORIES( ${QWT_INCLUDE_DIR} ${GEOM_INCLUDE_DIRS} ${OpenCASCADE_INCLUDE_DIR} - ${VTK_INCLUDE_DIRS} ${OMNIORB_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/Controls @@ -50,10 +51,8 @@ ADD_DEFINITIONS( # libraries to link to SET(_link_LIBRARIES ${QT_LIBRARIES} - ${VTK_LIBRARIES} ${OpenCASCADE_KERNEL} ${GEOM_GEOMObject} - ${GUI_SalomeApp} ${GUI_SalomeObject} ${GUI_SVTK} ${GUI_VTKViewer} @@ -63,6 +62,7 @@ SET(_link_LIBRARIES SMESHClient SMDS SMESHControls + ParaView::pqApplicationComponents ) IF(SALOME_USE_PLOT2DVIEWER)