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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -