Showing posts with label CMAKE. Show all posts
Showing posts with label CMAKE. Show all posts

Tuesday, June 6, 2023

Install CMAKE on centos 7

 yum remove cmake

wget https://github.com/Kitware/CMake/releases/download/v3.13.4/cmake-3.13.4.tar.gz
tar zxvf cmake-3.13.4.tar.gz
cd cmake-3.13.4
sudo ./bootstrap --prefix=/usr/local
sudo make
sudo make install
vi ~/.bash_profile

    ...
    # PATH=$PATH:$HOME/bin
    PATH=/usr/local/bin:$PATH:$HOME/bin
    export PATH

source ~/.bash_profile
cmake --version

How to merge a branch to main branch in Github.

In Terminal or Command Prompt:  git checkout main  [switch to main branch] git pull origin main  [grab latest updates from main branch] git ...