[vtkusers] vtk4 & cmake & external libraries

Andy Cedilnik Andy.Cedilnik at kitware.com
Thu Mar 7 08:14:23 EST 2002


This is what I did:

FIND_LIBRARY(EFENCE_LIBRARY
    NAMES efence
    PATHS
        /usr/lib
        /usr/local/lib
        /usr/efence/lib
        /usr/share/efence/lib
    )
  FIND_PATH(EFENCE_INCLUDE_PATH
     efence.h
     /usr/include
     /usr/efence/include
     /usr/share/efence/inclde
    )

You get the picture.

                                 Andy Cedilnik


At 01:12 AM 3/7/2002 -0500, Alexandre Guimond wrote:
>Hi all.  I'm converthing my local code from vtk 3.2 to vtk 4.  That
>code uses an external lib (gsl) and I'm trying to figure out how what
>to add to which cmake files so that cmake asks for include & library
>paths to whoever is compiling, and how to add them to the final link
>command for my library.  does anyone have any info or example for
>this?




More information about the vtkusers mailing list