MantisBT - CMake
View Issue Details
0015997CMakeCMakepublic2016-03-01 22:562016-06-10 14:31
Andrew.W 
Kitware Robot 
normalblockalways
closedmoved 
Apple MacOS X10.4.10
 
 
0015997: CMake 3.5 fails to build on OS X with GTK framework installed
Running bootstrap on OS X fails with GTK framework installed in /Library/Frameworks.

Error is:
CMake Error at Modules/FindGTK2.cmake:182 (file):
  file STRINGS file
  "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot be
  read.

Actual path is /Library/Frameworks/Gtk.framework/Headers/gtk/gtkversion.h

I fixed the error by editing Modules/FindGTK2.cmake and changing references from
  ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h
to
  ${GTK2_GTK_INCLUDE_DIR}/gtkversion.h
Lines 631 and 883
Download CMake ( cmake-3.5.0-rc3 )
Run 'bootstrap'
No tags attached.
Issue History
2016-03-01 22:56Andrew.WNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042951
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042951)
Kitware Robot   
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.