InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.43k stars 666 forks source link

release-4.13: GDCM CMP0042 warning #493

Closed thewtex closed 5 years ago

thewtex commented 5 years ago

As described on Discourse,

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:

   gdcmcharls
   gdcmjpeg12
   gdcmjpeg16
   gdcmjpeg8
   gdcmsocketxx
   gdcmuuid

This warning is for project developers.  Use -Wno-dev to suppress it.
-- Generating done
thewtex commented 5 years ago

@blowekamp is working on an update to GDCM -- if this does not address the issue, we should set the CMake policy as required.

blowekamp commented 5 years ago

resolved in GDCM with malaterre/GDCM#83 then in ITK by #485