View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012466CMakeModulespublic2011-09-19 09:252012-07-09 06:52
Reporterogronom 
Assigned ToRolf Eike Beer 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.5 
Target VersionCMake 2.8.8Fixed in VersionCMake 2.8.8 
Summary0012466: FindGLUT does not honor REQUIRED
DescriptionWith 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)
TagsNo tags attached.
Attached Filespatch file icon 0001-FindGLUT-honor-REQUIRED-12466.patch [^] (1,835 bytes) 2012-02-08 14:06 [Show Content]

 Relationships

  Notes
(0027446)
Brad King (manager)
2011-09-19 09:57

The FindGLUT module predates the find_package command's REQUIRED infrastructure. There is no module maintainer for it:

  http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]

so it was never updated.
(0028527)
Rolf Eike Beer (developer)
2012-02-08 14:05

Please test the attached patch if it works for you with and without GLUT.
(0028595)
Rolf Eike Beer (developer)
2012-02-15 15:57

Fix pushed to next:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=14dadbde809d5091de44ef880376f69f6be2e23e [^]
(0029975)
David Cole (manager)
2012-07-09 06:52

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-09-19 09:25 ogronom New Issue
2011-09-19 09:57 Brad King Note Added: 0027446
2012-02-08 14:05 Rolf Eike Beer Note Added: 0028527
2012-02-08 14:06 Rolf Eike Beer File Added: 0001-FindGLUT-honor-REQUIRED-12466.patch
2012-02-09 08:58 Brad King Assigned To => Rolf Eike Beer
2012-02-09 08:58 Brad King Status new => assigned
2012-02-15 15:57 Rolf Eike Beer Note Added: 0028595
2012-02-15 15:57 Rolf Eike Beer Status assigned => resolved
2012-02-15 15:57 Rolf Eike Beer Resolution open => fixed
2012-02-15 15:57 Rolf Eike Beer Fixed in Version => CMake 2.8.8
2012-02-15 15:57 Rolf Eike Beer Target Version => CMake 2.8.8
2012-07-09 06:52 David Cole Note Added: 0029975
2012-07-09 06:52 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team