[vtk-developers] CMake warning on OSX

Ken Martin ken.martin at kitware.com
Wed Jan 3 15:49:16 EST 2018


I dug into this some and it seems the issue is that the version of kwsys
and verdict we are using are both old enough that they cause a cmake
warning when used with CMake 3.10.1. To fix the warning in VTK requires
fixing/revving/patching those two toolkits so that they either require a
more recent CMake (3.0 or later) or they explicitly specify policy CMP0042
NEW

On Wed, Jan 3, 2018 at 9:23 AM, Ken Martin <ken.martin at kitware.com> wrote:

>
>
> I've noticed that the following warning is showing up on a lot (all?) of
> our OSX systems since about Dec 14th. Is there something we should be doing
> to fix it? For the CMake experts out there should we be explicitly setting
> CMP0042?
>
>
> CMake Warning (dev):
>   Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
>   --help-policy CMP0042" for policy details.  Use the cmake_policy command to
>   set the policy and suppress this warning.
>
>   MACOSX_RPATH is not specified for the following targets:
>
>    verdict
>    vtksys
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>



-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180103/96c26729/attachment.html>


More information about the vtk-developers mailing list