visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
422 stars 109 forks source link

macos rpath warning for openpmd reader #4092

Open cyrush opened 4 years ago

cyrush commented 4 years ago
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:

   EOpenPMDDatabase_ser
   IOpenPMDDatabase
   MOpenPMDDatabase
cyrush commented 4 years ago

looked into this and I don't see any obvious difference between how we are specifying and building OpenPMD vs other libraries where this warning does not appear.