[vtkusers] Don't build vtkproj4?

Chris Marsh chris.marsh at usask.ca
Thu Jan 11 19:40:52 EST 2018


Looks like something is setting
PROJ4_INCLUDE_DIR
PROJ4_LIBRARY
to the system's proj4. I use a custom findproj4 that only looks where I
tell it.

then I see that
LIB_FILES:INTERNAL
contains vtkproj4
LIB_FILES just holds all my 3rd party libraries I need to link against.

Chris Marsh
PhD Candidate
chrismarsh.ca

121 Research Drive
University of Saskatchewan

On 11 January 2018 at 13:29, Ben Boeckel <ben.boeckel at kitware.com> wrote:

> On Thu, Jan 11, 2018 at 11:41:40 -0600, Chris Marsh wrote:
> > Thanks for the details. This doesn't seem to be working for me though.
> I've
> > tried passing VTK_USE_SYSTEM_libproj4 to cmake on the command line as
> well
> > as defining it as a CXXFLAG='-D VTK_USE_SYSTEM_libproj4", however neither
> > works. I still see the vtklibproj4 in the output of ldd.
>
> CMake should be getting the flag. If you do:
>
>     grep -i proj4 CMakeCache.txt
>
> do any variables stand out as potentially being set to use the internal
> one?
>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180111/69de04d0/attachment.html>


More information about the vtkusers mailing list