View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016045CMakeCMakepublic2016-04-01 08:312016-06-10 14:31
Reporterilovezfs 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformMacOSXOSOS XOS Version10.11
Product VersionCMake 3.5.1 
Target VersionFixed in Version 
Summary0016045: OS X system GLUT should always be preferred to X11's
DescriptionThe Homebrew "bottle" build server happens to have X11 installed, but we'd prefer not to force an unnecessary X11 dependency on users. However, by default gl2ps will automatically link against X11's libglut.dylib if X11 happens to be installed. Therefore, I'm having to pass "-DGLUT_glut_LIBRARY=/System/Library/Frameworks/GLUT.framework" to cmake to avoid creating bottles that break on systems without X11. It would be nice if gl2ps used the system GLUT by default even if X11 happens to be installed without our having to manually intervene.

This is caused by cmake's find_package(GLUT) which prefers X11's GLUT to the system GLUT if X11 happens to be installed. Instead CMake should always using the system GLUT unless someone deliberately intervenes to choose X11's, regardless of whether X11 is installed or not installed.
Steps To ReproduceUse find_package(GLUT) on a system that happens to have Xquartz (X11) installed.
Additional Informationhttps://github.com/Homebrew/homebrew/pull/50601/ [^]
http://www.geuz.org/pipermail/gl2ps/2016/000433.html [^]
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040791)
Brad King (manager)
2016-04-01 09:58

The FindGLUT module currently lacks a maintainer:

 https://cmake.org/Wiki/CMake:Module_Maintainers [^]

If anyone wants to work on it please read that page and come to the developer mailing list.
(0042974)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-04-01 08:31 ilovezfs New Issue
2016-04-01 09:58 Brad King Note Added: 0040791
2016-06-10 14:29 Kitware Robot Note Added: 0042974
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team