Clone this git repository, then (in CLion (VS version maybe add later)) select CMakeLists.txt as a current cmake file and run project.
If compiler does not know what is 'glew' -> run in console:
brew update
brew install glew
Now this step is not really needed, because in CMake file this command will run automatically.
Also you need to install brew for this -> instruction: https://brew.sh
If you have 64-bit system - you probably do not have any problems; 32-bits systems are not supported.
If compiler does not know what is 'glew'/'glfw' -> run in console:
sudo apt update
sudo apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
probably does not need
sudo apt install libglew-dev libglfw3 libglfw3-dev
Now this step is not really needed, because in CMake file this command will run automatically.