Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 Homebrew warning: Policy CMP0177 not set #156

Closed
Crola1702 opened this issue Nov 27, 2024 · 2 comments
Closed

🧑‍🌾 Homebrew warning: Policy CMP0177 not set #156

Crola1702 opened this issue Nov 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Crola1702
Copy link

Environment

  • OS Version: MacOS (all versions)
  • Source build (all versions)

Description

  • Expected behavior: Build should pass
  • Actual behavior: There are some warnings popping up in homebrew CI builds

Output

Reference builds:

CMake Warning (dev) at /usr/local/share/cmake/gz-cmake4/cmake4/GzInstallAllHeaders.cmake:182 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  core/include/gz/plugin/CMakeLists.txt:1 (gz_install_all_headers)
This warning is for project developers.  Use -Wno-dev to suppress it.

Also, older versions of plugin show another warning:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
@azeey
Copy link
Contributor

azeey commented Nov 27, 2024

I think this is a duplicate of gazebosim/gz-cmake#461

@Crola1702
Copy link
Author

I think this is a duplicate of gazebosim/gz-cmake#461

Closing in favor of gazebosim/gz-cmake#461

@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants