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

🧑‍🌾 CMake warning Policy CMP0153 is not set in gz-plugin1-homebrew #144

Closed
Crola1702 opened this issue Apr 18, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@Crola1702
Copy link

Environment

  • OS Version: MacOS
  • Source gz-plugin1

Description

  • Expected behavior: gz-plugin1-homebrew is unstable due to CMake One Warning message
  • Actual behavior: Build should be successful

Output

Reference build: https://build.osrfoundation.org/job/gz_plugin-ci-ign-plugin1-homebrew-amd64/37/

Output:

CMake Warning (dev) at /usr/local/share/cmake/ignition-cmake2/cmake2/IgnSetCompilerFlags.cmake:77 (exec_program):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
Call Stack (most recent call first):
  /usr/local/share/cmake/ignition-cmake2/cmake2/IgnSetCompilerFlags.cmake:33 (ign_setup_unix)
  /usr/local/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:88 (ign_set_compiler_flags)
  CMakeLists.txt:58 (ign_configure_build)
This warning is for project developers.  Use -Wno-dev to suppress it.
@azeey
Copy link
Contributor

azeey commented May 3, 2024

Fixed by gazebosim/gz-cmake#427

@azeey azeey closed this as completed May 3, 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
Archived in project
Development

No branches or pull requests

2 participants