You can just run
brew uninstall cmake
and run
brew install --cask cmake
then it will be in your "Application" (tried it on MacOS 15.1)