Please add libXmu-devel to freeglut-devel dependencies. Simple cmake project cannot be built without it: cmake_minimum_required(VERSION 2.8) project(cg) find_package(GLUT REQUIRED) add_executable(cg main.cpp) target_link_libraries(cg ${GLUT_LIBRARIES} ) __________________________________________________________ -- Configuring incomplete, errors occurred! 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)
There is nothing in freeglut that would require libXmu to be linked along freeglut. There must be something broken in the project you are referring to.