How do I add OpenGL to a project using CMake? -


i followed documentation (https://cmake.org/cmake/help/v3.0/module/findopengl.html) , wrote code below in cmakelists.txt...

if(not opengl_found)     message("there no opengl!") endif() 

...to try figure out how add opengl project using cmake. message keeps popping means system doesn't have opengl. how add system?


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -