C++ CMake and glew. Can't statically link the Library

Long Back Story:
Hi, I'm interested in learning the basics of 3d graphics and how a game engine is put together. I've worked in 3d graphics before(Unity Game Engine, THREE.js), so I figured learning opengl straight up would help me the most. I decided I wanted to make my own engine in straight up modern opengl, and c++. I decided to use c++ because it's a low level language, and It would teach me important things about programming, like how to manage the applications memory. However, I am still a beginner, and have only learned c++, by watching a couple videos on the internet. Anyways, I want to build a game engine that is cross platform, so that I can work on it, on my windows, mac and Linux machines. I also decided to not use an IDE, and learn c++ from the ground up using only cmake, a text editor, and g++(MinGW when I build on windows). Anyways, for this project, I realized that I should use static libraries, so that they can all be built for each platform, instead of using Shared libraries.

My Problem:
I managed to use the git repository for GLFW(https://github.com/glfw/glfw), and link it statically using cmake, but for the love of god, I cannot figure out how to statically link glew by its git repository(https://github.com/nigels-com/glew). I have been struggling with this for weeks now, so I would appreciate any help.

Extra:
If you know of any good modern opengl tutorials out there, please feel free to share them with me.

Check out any of my "OpenGL" or "Brendan" related repos. I used CMake and GLEW

For statically linking GLEW you just need to use #define GLEW_STATIC and link to glew32s (I think)
I would recommend not using MinGW[-w64] or cygwin on windows, they're too much of a hassle. Just use VS

Alright thanks, I'll take a look!