tar -zxvf cmake-3.16.5.tar.gz
cd cmake-3.16.5
export CC=`which clang` export CXX=`which clang++` export FC=`which flang` ./bootstrap --prefix=/path/to/CMAKE
开始回显:
结束回显:
make make install
export PATH=/path/to/CMAKE/bin:$PATH
cmake --version