Cmake error when configuring OpenGL [How to Solve]

Refer to the problem encountered when compiling and installing cmake glut_ Xmu_ Library (Advanced)
system environment: Ubuntu 16.04
cmake reports an error when building a program in KDevelop. The error information is as follows:



    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

    Please set them or make sure they are set and tested correctly in the CMake files:

    GLUT_Xmu_LIBRARY (ADVANCED)

    linked by target "openglsupport" in directory {$PATH}
     

    -- Configuring incomplete, errors occurred!

Solution:

sudo apt-get install libxmu-dev

Read More: