CMake 3.5 fails to build on OS X with GTK framework installed
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
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.