CMakeLists.txt is configurend and writen for CMake v3.0 Current CMake version (4.0.2 as of date) no longer supports CMake versions from before v3.5 Workaround: us an older version of CMake Last edit on opengl-tutorials is 7 years old. Looks like opengl-tutorials is dead?