find_package(GLUT REQUIRED)
if(NOT GLUT_FOUND)
message(ERROR "GLUT not found")
endif(NOT GLUT_FOUND)
include_directories(${GLUT_INCLUDE_DIR})
find_package(GLUT REQUIRED)
if(NOT GLUT_FOUND)
message(ERROR "GLUT not found")
endif(NOT GLUT_FOUND)
include_directories(${GLUT_INCLUDE_DIR})