Error when installing px4-dev via Homebrew: CMake Compatibility Issue

Hi. I’m trying to install px4-dev using Homebrew on my macOS system with the command: brew install px4-dev
However, during the process I encountered the following error:
CMake Error at CMakeLists.txt:18 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the … syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.

i’m using bin cmake version 4.01 and homebrew version 4.5.0-34-gbbac5be. Can you help me solve this error?

hello @EmineSaideErtugrul we are aware of the issue and are working on a fix formula: update px4-sim-gazebo plus adds ci test by mrpollo · Pull Request #88 · PX4/homebrew-px4 · GitHub