version conflicts after installing a new version on macOS
This is not an issue of cmake. Just needed help on this situation: I had a cmake version 3.11.4 already installed. And I installed 3.12.0 with file "cmake-3.12.0-Darwin-x86_64.dmg" downloaded from cmake.org, by simply replacing the older one--I chose "replace" when a prompt dialog asking whether to replace the existing one during the installation. After the upgrade, I can open the new version of cmake GUI, but the command line "cmake -version" still got the old version 3.11.4, for it is still at "/usr/local/Cellar/cmake" and 3.12.0 is not installed under that folder. Any suggestion to resolve it? Thanks a lot.