[cmake-developers] [CMake 0012466]: FindGLUT does not honor REQUIRED

Mantis Bug Tracker mantis at public.kitware.com
Mon Sep 19 09:25:30 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12466 
====================================================================== 
Reported By:                ogronom
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12466
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-19 09:25 EDT
Last Modified:              2011-09-19 09:25 EDT
====================================================================== 
Summary:                    FindGLUT does not honor REQUIRED
Description: 
With no glut installed cmake does not stop build phase in spite of REQUIRED. 

Steps to Reproduce: 
#CMskeLists.txt
cmake_minimum_required(VERSION 2.8)
find_package(GLUT REQUIRED)
if (NOT GLUT_FOUND)
	message("Possible Bug???")
endif (NOT GLUT_FOUND)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-19 09:25 ogronom        New Issue                                    
======================================================================




More information about the cmake-developers mailing list