So recently i started learning about graphics and openGL and i stumbled across GLFW, but when i run my CMake build it says that the CMakeLists.txt

so i use the cmakelists.txt that comes in the src folder which comes with the glfw, but when i try run my cmake build it says that there is no cmake_minimum_required(“version”) on top. So i put it there but it does even worse! Please help me.

Try this GLFW Cmake Starter, following the instructions in the readme.