Skip to content

[C++] Set CMP0068 CMake policy to avoid macOS warnings #22049

@asfimport

Description

@asfimport

These warnings are appearing in the build on macOS

CMake Warning (dev):
  Policy CMP0068 is not set: RPATH settings on macOS do not affect
  install_name.  Run "cmake --help-policy CMP0068" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, the install_name fields for
  the following targets are still affected by RPATH settings:

   arrow_dataset_shared
   arrow_python_shared
   arrow_shared
   arrow_testing_shared
   parquet_shared
   plasma_shared

This warning is for project developers.  Use -Wno-dev to suppress it.

Reporter: Wes McKinney / @wesm
Assignee: Uwe Korn / @xhochy

PRs and other links:

Note: This issue was originally created as ARROW-5609. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions