[Paraview-developers] build vtk based application using paraview superbuild

Moreland, Kenneth kmorel at sandia.gov
Tue Apr 5 10:36:55 EDT 2016


Does the CMakeLists.txt of your VTK-based application have a command like find_package(ParaView)? If not, then the ParaView_DIR variable probably has no meaning.

Do you have a command like find_package(VTK)? If so, you probably want to set VTK_DIR instead of ParaView_DIR.

-Ken


From: Paraview-developers <paraview-developers-bounces at paraview.org> on behalf of Chiranjib Sur <sur.chiranjib at gmail.com>
Date: Tuesday, April 5, 2016 at 6:51 AM
To: Paraview Developer Mailing list <paraview-developers at paraview.org>
Subject: [EXTERNAL] [Paraview-developers] build vtk based application using paraview superbuild

Hi,
I am trying to build a stand alone VTK based application linking with ParaView superbuild.

I ran the cmake command to create the Makefile linking with PV super build
(-DParaView_DIR=/superbuild/install/location)

However, I get the following warning and I could not use the libraries from PV

CMake Warning:
   Manually -specified variables were not used by the project:

        ParaView_DIR


Any pointer on how I should modify my CMakeLists.txt for this purpose?

Thanks in advance,
Chiranjib

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160405/fecc1c71/attachment-0001.html>


More information about the Paraview-developers mailing list